svn commit: r351600 - head/dns/py-bonjour

Josh Paetzel jpaetzel at FreeBSD.org
Sat Apr 19 16:33:49 UTC 2014


Author: jpaetzel
Date: Sat Apr 19 16:33:48 2014
New Revision: 351600
URL: http://svnweb.freebsd.org/changeset/ports/351600
QAT: https://qat.redports.org/buildarchive/r351600/

Log:
  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

Modified:
  head/dns/py-bonjour/Makefile

Modified: head/dns/py-bonjour/Makefile
==============================================================================
--- head/dns/py-bonjour/Makefile	Sat Apr 19 16:09:43 2014	(r351599)
+++ head/dns/py-bonjour/Makefile	Sat Apr 19 16:33:48 2014	(r351600)
@@ -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>


More information about the svn-ports-all mailing list