Support stage

Make sure to properly depend on libobjc2 and not get polluted by gcc
Use modern libdepends
This commit is contained in:
Baptiste Daroussin 2014-01-28 08:17:13 +00:00
parent 198ce00aa7
commit b7d1e54746
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341512

View file

@ -24,13 +24,13 @@ 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+= gnutls-openssl.27:${PORTSDIR}/security/gnutls
LIB_DEPENDS+= icuuc:${PORTSDIR}/devel/icu
LIB_DEPENDS+= objc.4:${PORTSDIR}/lang/libobjc2
LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi
LIB_DEPENDS+= libxml2.so:${PORTSDIR}/textproc/libxml2
LIB_DEPENDS+= libxslt.so:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp
LIB_DEPENDS+= libgnutls-openssl.so:${PORTSDIR}/security/gnutls
LIB_DEPENDS+= libicuuc.so:${PORTSDIR}/devel/icu
LIB_DEPENDS+= libobjc.so.4.6:${PORTSDIR}/lang/libobjc2
LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt
USE_AUTOTOOLS= autoconf
@ -56,20 +56,16 @@ 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
LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app
.elif ${PORT_OPTIONS:MMDNS}
CONFIGURE_ARGS+= --with-zeroconf-api=mdns
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder
LIB_DEPENDS+= libdns_sd.so:${PORTSDIR}/net/mDNSResponder
.else
CONFIGURE_ARGS+= --disable-zeroconf
.endif
.include <bsd.port.pre.mk>
PATH:= ${PREFIX}/System/Tools:${PATH}
post-extract:
@ -77,6 +73,6 @@ post-extract:
${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${FILESDIR}/gdomap_if ${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/gdomap_if ${STAGEDIR}${ETCDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>