From 500097f8145135940491a6710d63c9eb615d0109 Mon Sep 17 00:00:00 2001 From: dinoex Date: Mon, 30 Nov 2009 04:09:09 +0000 Subject: - disable -fpie -fPIE which seems broken on amd64 for FreeBSD >= 7 --- print/cups-base/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'print') 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 -- cgit