Unbreak gawk on ppc Mac OS X 10.4 and earlier - the linker
does not understand '-rpath'.
This commit is contained in:
parent
8c8fe97798
commit
02dbbcaac9
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue