diff options
-rw-r--r-- | dns/py-bonjour/Makefile | 15 |
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> |