diff options
Diffstat (limited to 'dns/nss_mdns/Makefile')
-rw-r--r-- | dns/nss_mdns/Makefile | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/dns/nss_mdns/Makefile b/dns/nss_mdns/Makefile index 0fd1bef98ea..21771195a4c 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> |