pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/gawk



Module Name:    pkgsrc
Committed By:   hauke
Date:           Thu Jun 25 19:48:03 UTC 2020

Modified Files:
        pkgsrc/lang/gawk: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 pkgsrc/lang/gawk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gawk/Makefile
diff -u pkgsrc/lang/gawk/Makefile:1.71 pkgsrc/lang/gawk/Makefile:1.72
--- pkgsrc/lang/gawk/Makefile:1.71      Sat Jan 18 23:32:42 2020
+++ pkgsrc/lang/gawk/Makefile   Thu Jun 25 19:48:03 2020
@@ -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 @@ CPPFLAGS.OSF1+=              -D_OSF_SOURCE
 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