summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/py-bonjour/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/dns/py-bonjour/Makefile b/dns/py-bonjour/Makefile
index 6a00832b4717..61fc2832a821 100644
--- a/dns/py-bonjour/Makefile
+++ b/dns/py-bonjour/Makefile
@@ -15,19 +15,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-OPTIONS_SINGLE= ZEROCONF
+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}
+OPTIONS_DEFAULT= MDNSRESPONDER
+AVAHI_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/avahi-libdns
+MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
.include <bsd.port.mk>