diff options
author | sbd <sbd> | 2011-01-19 03:01:06 +0000 |
---|---|---|
committer | sbd <sbd> | 2011-01-19 03:01:06 +0000 |
commit | d9d42098a156c72a7821f0ac405f61e2e0c32925 (patch) | |
tree | 903ebea192b2afa3e17adc312bc4374eea860de0 /print/cups | |
parent | 26938ff21392f65abf9c43a70e41b2cabf61b415 (diff) | |
download | pkgsrc-d9d42098a156c72a7821f0ac405f61e2e0c32925.tar.gz |
Remove PIE flags from LDFLAGS on NetBSD/powerpc they cause runtime
problems in resultant binarys. Closes PR#43826. Thanks to joerg@ for
suggesting it was the PIE flags.
Diffstat (limited to 'print/cups')
-rw-r--r-- | print/cups/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile index 27d7b98232e..06490da018a 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2011/01/13 13:36:06 wiz Exp $ +# $NetBSD: Makefile,v 1.175 2011/01/19 03:01:06 sbd Exp $ # # The CUPS author is very good about taking back changes into the main # CUPS distribution. The correct place to send patches or bug-fixes is: @@ -138,6 +138,14 @@ SUBST_MESSAGE.rpathfix= Adding rpath to cups-config. SUBST_SED.rpathfix= -e 's|@EXPORT_LDFLAGS@|${COMPILER_RPATH_FLAG}${PREFIX}/lib|g' SUBST_STAGE.rpathfix= post-patch +.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Mpowerpc) +SUBST_CLASSES+= piefix +SUBST_FILES.piefix= Makedefs.in +SUBST_MESSAGE.piefix= Removing PIE flags +SUBST_SED.piefix= -e 's|@PIEFLAGS@||g' +SUBST_STAGE.piefix= post-patch +.endif + INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} ${MIMEDIR} INSTALL_ENV+= DSTROOT=${DESTDIR} |