diff options
author | ade <ade@FreeBSD.org> | 2010-09-16 02:35:24 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2010-09-16 02:35:24 +0800 |
commit | 3ad75a4581c2f69fb2331ab72fee36ff8af166ba (patch) | |
tree | b5ab9adb45e9a850892479ebc329ab2118d673c8 /net/nss_ldap | |
parent | f72275e68db56a5d187d3a748951a6347a5ace60 (diff) | |
download | freebsd-ports-gnome-3ad75a4581c2f69fb2331ab72fee36ff8af166ba.tar.gz freebsd-ports-gnome-3ad75a4581c2f69fb2331ab72fee36ff8af166ba.tar.zst freebsd-ports-gnome-3ad75a4581c2f69fb2331ab72fee36ff8af166ba.zip |
Autotools update. Read ports/UPDATING 20100915 for details.
Approved by: portmgr (for Mk/bsd.port.mk part)
Tested by: Multiple -exp runs
Diffstat (limited to 'net/nss_ldap')
-rw-r--r-- | net/nss_ldap/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile index aafa13297cd4..e7430f73f5ee 100644 --- a/net/nss_ldap/Makefile +++ b/net/nss_ldap/Makefile @@ -7,7 +7,7 @@ PORTNAME= nss_ldap PORTVERSION= 1.${NSS_LDAP_VERSION} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= http://www.padl.com/download/ DISTNAME= ${PORTNAME}-${NSS_LDAP_VERSION} @@ -21,7 +21,7 @@ NSS_LDAP_VERSION=265 GNU_CONFIGURE= yes USE_GMAKE= yes -USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262 autoheader:262 +USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:267 autoheader:267 USE_LDCONFIG= yes USE_OPENLDAP= yes @@ -54,6 +54,14 @@ CFLAGS+="-DHAVE_LOGIN_CLASSES" post-extract: ${CP} ${FILESDIR}/bsdnss.c ${WRKSRC} +# XXX: newer autoconf's rely on the compiler result, not the preprocessor +# for checking headers, so the configure.in needs to be fixed upstream +# to properly include dependencies +post-configure: + @${ECHO} "#define HAVE_NETINET_IF_ETHER_H 1" >> ${WRKSRC}/config.h + @${ECHO} "#define HAVE_NET_ROUTE_H 1" >> ${WRKSRC}/config.h + @${ECHO} "#define HAVE_RESOLV_H 1" >> ${WRKSRC}/config.h + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nss_ldap.so ${PREFIX}/lib/nss_ldap.so.1 ${INSTALL_DATA} ${WRKSRC}/ldap.conf ${PREFIX}/etc/nss_ldap.conf.sample |