aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/cups-base/Makefile')
-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