summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2020-06-25 19:48:03 +0000
committerhauke <hauke@pkgsrc.org>2020-06-25 19:48:03 +0000
commit65970b132a7d6d149837cebeeaaf41c58c9d6f44 (patch)
tree674a471acf10c7aecd560fcf1c019bbc8e56d194
parent42d15554f990cf02a0c077accc4a661a55215a31 (diff)
downloadpkgsrc-65970b132a7d6d149837cebeeaaf41c58c9d6f44.tar.gz
Unbreak gawk on ppc Mac OS X 10.4 and earlier - the linker
does not understand '-rpath'.
-rw-r--r--lang/gawk/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 362fd473660..d0927e14ae5 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -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