diff options
author | Ade Lovett <ade@FreeBSD.org> | 2010-09-15 18:35:24 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2010-09-15 18:35:24 +0000 |
commit | 8262a7b51d413e11ef8f67c56e862ebbc6f182de (patch) | |
tree | 1e9812bc2638933184cae2b226809eb69253bb9f /net/nss_ldap | |
parent | be8126109fa13097c8a0f9337fa9dfb68cf5d4c2 (diff) | |
download | ports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.tar.gz ports-8262a7b51d413e11ef8f67c56e862ebbc6f182de.zip |
Notes
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 |