summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2014-04-19 16:33:48 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2014-04-19 16:33:48 +0000
commite43f15afa7663793e6606fa07a1c9728e05395ec (patch)
treedb8d84fb1e9ff51a87c3158013ac6ef6e346cd2f /dns
parent- Update to 2.2.0. (diff)
Add needed dependancies for this port.
Due to the FreeNAS build system being very....simplistic the deps weren't needed in the port there, however to work properly in FreeBSD they of course are needed. Noticed by: swills Pointyhat to: jpaetzel
Notes
Notes: svn path=/head/; revision=351600
Diffstat (limited to 'dns')
-rw-r--r--dns/py-bonjour/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/py-bonjour/Makefile b/dns/py-bonjour/Makefile
index aa3f360c4e7f..6a00832b4717 100644
--- a/dns/py-bonjour/Makefile
+++ b/dns/py-bonjour/Makefile
@@ -15,4 +15,19 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
+OPTIONS_SINGLE= ZEROCONF
+OPTIONS_SINGLE_ZEROCONF= AVAHI MDNSRESPONDER
+OPTIONS_DEFAULT= MDNSRESPONDER
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MAVAHI}
+BUILD_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/avahi-libdns
+.endif
+.if ${PORT_OPTIONS:MMDNSRESPONDER}
+BUILD_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
+.endif
+
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
.include <bsd.port.mk>