aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-28 15:42:11 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-28 15:42:11 +0000
commita4b6b826c5ad9c81c2378f5b7fad8355501c8ea6 (patch)
tree8e54ebf1a65b95afecafdbce5b01c070373db14c /print/cups-base
parentc118e5b6f34f7acbf6a4c7aac560883f52aca4a5 (diff)
downloadports-a4b6b826c5ad9c81c2378f5b7fad8355501c8ea6.tar.gz
ports-a4b6b826c5ad9c81c2378f5b7fad8355501c8ea6.zip
Notes
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 5cc949e8266e..0ea3b8c6305d 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -290,6 +290,10 @@ post-patch:
.if ${ARCH} == "amd64"
@${REINPLACE_CMD} -e 's|@PIEFLAGS@||' ${WRKSRC}/Makedefs.in
.endif
+.if ${PORT_OPTIONS:MMDNSRESPONDER}
+ @${REINPLACE_CMD} -e 's|Darwin|FreeBSD|' \
+ ${WRKSRC}/backend/Makefile
+.endif
.if ${PORT_OPTIONS:MXDG_OPEN}
@${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop.in
.endif