diff options
author | David Chisnall <theraven@FreeBSD.org> | 2014-01-16 00:27:29 +0000 |
---|---|---|
committer | David Chisnall <theraven@FreeBSD.org> | 2014-01-16 00:27:29 +0000 |
commit | d9fb637657ed1e070a79eb99fcb59b22c868587f (patch) | |
tree | 3951055d330fa5fdc0a98163b03aa613ac88826a /lang/gnustep-base | |
parent | 21b4d1d4566f91e30bd42c2314ceb1b386bd2921 (diff) | |
download | ports-d9fb637657ed1e070a79eb99fcb59b22c868587f.tar.gz ports-d9fb637657ed1e070a79eb99fcb59b22c868587f.zip |
Notes
Diffstat (limited to 'lang/gnustep-base')
-rw-r--r-- | lang/gnustep-base/Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile index 6b439aa94e73..62cb9307f471 100644 --- a/lang/gnustep-base/Makefile +++ b/lang/gnustep-base/Makefile @@ -14,11 +14,20 @@ COMMENT= GNUstep Foundation library LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi +OPTIONS_RADIO= ZEROCONF +OPTIONS_RADIO_ZEROCONF= AVAHI MDNS +OPTIONS_DEFAULT= AVAHI + +NOZEROCONF_DESC= Disable Zeroconf (Bonjour) support +AVAHI_DESC?= Zeroconf via Avahi (preferred) +MDNS_DESC?= Zeroconf via Apple's mDNSResponder + +.include <bsd.port.options.mk> + LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2 LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp -LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder LIB_DEPENDS+= gnutls-openssl.27:${PORTSDIR}/security/gnutls LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu LIB_DEPENDS+= objc.4:${PORTSDIR}/lang/libobjc2 @@ -48,6 +57,17 @@ ETCDIR= ${LOCALBASE}/etc PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1} NO_STAGE= yes + +.if ${PORT_OPTIONS:MAVAHI} +CONFIGURE_ARGS+= --with-zeroconf-api=avahi +LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app +.elif ${PORT_OPTIONS:MMDNS} +CONFIGURE_ARGS+= --with-zeroconf-api=mdns +LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder +.else +CONFIGURE_ARGS+= --disable-zeroconf +.endif + .include <bsd.port.pre.mk> PATH:= ${PREFIX}/System/Tools:${PATH} |