aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-01-20 15:29:57 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-01-20 15:29:57 +0000
commit5a142bc4ebe8a9f4ca10c4b4b51004d6108d2cd0 (patch)
tree4017f6d35cf4a9cf4aab042843154d72b59e9c66 /print
parent733637386603513a54d1b5f10b4e36bdec542bc6 (diff)
downloadports-5a142bc4ebe8a9f4ca10c4b4b51004d6108d2cd0.tar.gz
ports-5a142bc4ebe8a9f4ca10c4b4b51004d6108d2cd0.zip
- new option WITH_DNSSD
Submitted by: Erik Van Benschoten
Notes
Notes: svn path=/head/; revision=205882
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 33cbc066b0bb..5573d68d19ad 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -97,6 +97,13 @@ CONFIGURE_ARGS+= --enable-libpaper
LIB_DEPENDS+= paper.2:${PORTSDIR}/print/libpaper
.endif
+.if defined(WITH_DNSSD)
+CONFIGURE_ARGS+= --enable-dnssd \
+ --with-dnssd-libs=${LOCALBASE}/lib/ \
+ --with-dnssd-includes=${LOCALBASE}/include/avahi-compat-libdns_sd/
+LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/avahi-libdns
+.endif
+
MAN1EXT= 1
MAN5EXT= 5
MAN7EXT= 7