aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-11-30 04:09:09 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-11-30 04:09:09 +0000
commitb24e9a7ceee2d97487fd4abfdea059b75c1ba752 (patch)
treec8c3fe9cfebd119d3351818fe0f97e10825e6844 /print/cups-base/Makefile
parentb35a316a3c0d2ee80f2a8f188bcd0d4a2e9c09ad (diff)
Notes
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r--print/cups-base/Makefile5
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