diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-18 17:52:54 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-09-18 17:52:54 +0000 |
commit | 83d728f96a54ebf6887e67c32480a82329340c63 (patch) | |
tree | fcd423711fc2030204a6c52e0ea74ba3d48b8f86 /dns | |
parent | 3a289d638daa5efa1966810b3992aeb69b1511f9 (diff) | |
download | ports-83d728f96a54ebf6887e67c32480a82329340c63.tar.gz ports-83d728f96a54ebf6887e67c32480a82329340c63.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/nss_mdns/Makefile | 24 | ||||
-rw-r--r-- | dns/nss_mdns/files/patch-aclocal.m4 | 12 |
2 files changed, 5 insertions, 31 deletions
diff --git a/dns/nss_mdns/Makefile b/dns/nss_mdns/Makefile index 0fd1bef98ea4..21771195a4c4 100644 --- a/dns/nss_mdns/Makefile +++ b/dns/nss_mdns/Makefile @@ -18,10 +18,10 @@ LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app CONFLICTS_INSTALL= mDNSResponder_nss-[0-9]* -USE_AUTOTOOLS= autoconf automake -USES= gmake libtool +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip +USES= autoreconf gmake libtool USE_LDCONFIG= yes -AUTOTOOLSFILES= aclocal.m4 OPTIONS_DEFINE= SEARCH_DOMAINS DOCS SEARCH_DOMAINS_DESC= Honour search domains in resolv.conf @@ -29,8 +29,6 @@ SEARCH_DOMAINS_DESC= Honour search domains in resolv.conf CONFIGURE_ARGS+= \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static \ - --enable-shared \ --enable-avahi \ --disable-legacy \ --disable-lynx @@ -43,17 +41,9 @@ INSTALLED_MODULES=nss_mdns nss_mdns_minimal CONFIGURE_ARGS+= --enable-search-domains .endif -# -# libtool is used, therefore we must perform a GNU make based install, -# followed by removal of build rubble; we must create our own .so symlinks; -# we do this from the do-install target so as to avoid causing any -# problems if we are later packaged. -# -do-install: - @( cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} ) +post-install: .for INSTALLED_MODULE in ${INSTALLED_MODULES} - ( cd ${STAGEDIR}${PREFIX}/lib ; ${LN} -s ${INSTALLED_MODULE}.so.1 ${INSTALLED_MODULE}.so ) - ${RM} ${STAGEDIR}${PREFIX}/lib/${INSTALLED_MODULE}.a ${STAGEDIR}${PREFIX}/lib/${INSTALLED_MODULE}.la + ${LN} -s ${INSTALLED_MODULE}.so.1 ${STAGEDIR}${PREFIX}/lib/${INSTALLED_MODULE}.so .endfor .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/ @@ -66,8 +56,4 @@ do-install: PLIST_FILES= ${INSTALLED_MODULES:C/^/lib\//:C/$/.so/} ${INSTALLED_MODULES:C/^/lib\//:C/$/.so.1/} PORTDOCS= README README.html -post-configure: - @${FIND} ${WRKSRC} -name Makefile -print | \ - ${XARGS} ${REINPLACE_CMD} -e 's|MKDIR_P|mkdir_p|g' - .include <bsd.port.mk> diff --git a/dns/nss_mdns/files/patch-aclocal.m4 b/dns/nss_mdns/files/patch-aclocal.m4 deleted file mode 100644 index dde3af35c180..000000000000 --- a/dns/nss_mdns/files/patch-aclocal.m4 +++ /dev/null @@ -1,12 +0,0 @@ ---- aclocal.m4.orig 2007-05-12 09:55:30.000000000 -0500 -+++ aclocal.m4 2010-09-28 10:18:36.000000000 -0500 -@@ -6392,3 +6392,3 @@ - # generated from the m4 files accompanying Automake X.Y. --AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) -+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="%%AUTOMAKE_VERSION%%"]) - -@@ -6399,3 +6399,3 @@ - AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -- [AM_AUTOMAKE_VERSION([1.9.6])]) -+ [AM_AUTOMAKE_VERSION([%%AUTOMAKE_APIVER%%])]) - |