aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-base
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-01-20 23:29:57 +0800
committerdinoex <dinoex@FreeBSD.org>2008-01-20 23:29:57 +0800
commit043a712f47898314a5e1e20bbde292a043f6d123 (patch)
tree8bbe2b5f3595bf34554abeacbf6861916fec1a3d /print/cups-base
parentf987e8ca61d98daa4123158d720c86b620db38b4 (diff)
downloadfreebsd-ports-gnome-043a712f47898314a5e1e20bbde292a043f6d123.tar.gz
freebsd-ports-gnome-043a712f47898314a5e1e20bbde292a043f6d123.tar.zst
freebsd-ports-gnome-043a712f47898314a5e1e20bbde292a043f6d123.zip
- new option WITH_DNSSD
Submitted by: Erik Van Benschoten
Diffstat (limited to 'print/cups-base')
-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