Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gawk Unbreak gawk on ppc Mac OS X 10.4 and earlie...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7daca14c8b99
branches:  trunk
changeset: 434894:7daca14c8b99
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Thu Jun 25 19:48:03 2020 +0000

description:
Unbreak gawk on ppc Mac OS X 10.4 and earlier - the linker
does not understand '-rpath'.

diffstat:

 lang/gawk/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 809f1d2135e6 -r 7daca14c8b99 lang/gawk/Makefile
--- a/lang/gawk/Makefile        Thu Jun 25 19:00:37 2020 +0000
+++ b/lang/gawk/Makefile        Thu Jun 25 19:48:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2020/01/18 23:32:42 rillig Exp $
+# $NetBSD: Makefile,v 1.72 2020/06/25 19:48:03 hauke Exp $
 
 DISTNAME=      gawk-5.0.1
 CATEGORIES=    lang
@@ -32,6 +32,11 @@
 CFLAGS+=       -Dvm_region=vm_region_64
 .endif
 
+.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-powerpc)
+# ld does not have -rpath
+CONFIGURE_ARGS+=       --disable-rpath
+.endif
+
 PLIST_VARS+=           extension
 .if "${OPSYS}" != "MirBSD"
 PLIST.extension=       yes



Home | Main Index | Thread Index | Old Index