diff options
author | dinoex <dinoex@FreeBSD.org> | 2009-11-30 12:09:09 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2009-11-30 12:09:09 +0800 |
commit | 500097f8145135940491a6710d63c9eb615d0109 (patch) | |
tree | 1bb25364613c1a774ca2629fd4f9aa08ee5d0dd1 /print/cups-base | |
parent | 2c35426857056e394120cee83b47604621cf1808 (diff) | |
download | freebsd-ports-gnome-500097f8145135940491a6710d63c9eb615d0109.tar.gz freebsd-ports-gnome-500097f8145135940491a6710d63c9eb615d0109.tar.zst freebsd-ports-gnome-500097f8145135940491a6710d63c9eb615d0109.zip |
- disable -fpie -fPIE which seems broken on amd64 for FreeBSD >= 7
Diffstat (limited to 'print/cups-base')
-rw-r--r-- | print/cups-base/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 7e3d0d8fcde5..701066b8637b 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -228,6 +228,11 @@ pre-configure:: @${ECHO_MSG} ${CONFIGURE_ARGS} | fmt post-patch: +.if (${OSVERSION} >= 700000) || defined(WITH_PIEAMD64) +.if ${ARCH} == "amd64" || defined(WITH_PIEAMD64) + @${REINPLACE_CMD} -e 's|@PIEFLAGS@||' ${WRKSRC}/Makedefs.in +.endif +.endif .if defined(WITH_XDG_OPEN) @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in .endif |