aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2018-01-10 11:54:34 +0800
committerjhibbits <jhibbits@FreeBSD.org>2018-01-10 11:54:34 +0800
commitfa7b3c899bcdd64c2eaa3e20180cbe99e32cee54 (patch)
tree44bda9b7d800280a3e23bd2585bcbc7689916538 /print/cups
parentaa3d920458678f55c37367e9ab8f4025e4744043 (diff)
downloadfreebsd-ports-gnome-fa7b3c899bcdd64c2eaa3e20180cbe99e32cee54.tar.gz
freebsd-ports-gnome-fa7b3c899bcdd64c2eaa3e20180cbe99e32cee54.tar.zst
freebsd-ports-gnome-fa7b3c899bcdd64c2eaa3e20180cbe99e32cee54.zip
Drop PIE for cups, it's not supported on powerpc, so fails the build
Reviewed By:tijl Differential Revision: https://reviews.freebsd.org/D10613
Diffstat (limited to 'print/cups')
-rw-r--r--print/cups/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/print/cups/Makefile b/print/cups/Makefile
index a4df5cc39f36..971b2c90e3de 100644
--- a/print/cups/Makefile
+++ b/print/cups/Makefile
@@ -103,6 +103,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|\.default|.sample|'\
${WRKSRC}/cgi-bin/admin.c\
${WRKSRC}/conf/Makefile
+.if !empty(ARCH:Mpowerpc*)
+ @${REINPLACE_CMD} -e 's|@PIEFLAGS@||g' ${WRKSRC}/Makedefs.in
+.endif
post-patch-DOCS-off:
# Link to online documentation.