diff options
Diffstat (limited to 'print')
-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 |