diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-08 23:45:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-08 23:45:52 +0000 |
commit | bf700f1acc2be700898cb250a67974ea1183b88d (patch) | |
tree | 2fa7a0af13c96b89642098afaa0860bff60ca042 /www/ap-auth-ldap | |
parent | e925efa1182c535b36007cd933266366ac5fa7ee (diff) | |
download | pkgsrc-bf700f1acc2be700898cb250a67974ea1183b88d.tar.gz |
buildlink1 -> buildlink2
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r-- | www/ap-auth-ldap/Makefile | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile index 32ad7f8a89a..419e356721f 100644 --- a/www/ap-auth-ldap/Makefile +++ b/www/ap-auth-ldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/11/26 15:02:30 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2002/10/08 23:48:21 jlam Exp $ DISTNAME= auth_ldap-1.6.0 PKGNAME= ap-auth-ldap-1.6.0 @@ -10,26 +10,30 @@ MAINTAINER= kleink@netbsd.org HOMEPAGE= http://www.rudedog.org/auth_ldap/ COMMENT= Module to allow apache authentication against an LDAP directory -DEPENDS+= ${BUILDLINK_DEPENDS.apache}:../../www/apache +USE_BUILDLINK2= # defined do-build: - @cd ${WRKSRC} && ${APXS} -c \ - -D WITH_OPENLDAP \ - -I ${BUILDLINK_DIR}/include \ - -L ${BUILDLINK_DIR}/lib -Wl,-R${LOCALBASE}/lib -lldap -llber \ - auth_ldap.c auth_ldap_cache.c auth_ldap_cache_mgr.c \ - auth_ldap_config.c + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${APXS} -c \ + -DWITH_OPENLDAP \ + -I${BUILDLINK_PREFIX.openldap}/include \ + -L${BUILDLINK_PREFIX.openldap}/lib \ + -Wl,-R${BUILDLINK_PREFIX.openldap}/lib -lldap -llber \ + auth_ldap.c auth_ldap_cache.c auth_ldap_cache_mgr.c \ + auth_ldap_config.c do-install: - @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i auth_ldap.so + @cd ${WRKSRC} && ${APXS} -i auth_ldap.so ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_auth_ldap ${INSTALL_DATA} ${WRKSRC}/FAQ.html \ - ${PREFIX}/share/doc/mod_auth_ldap + ${PREFIX}/share/doc/mod_auth_ldap ${INSTALL_DATA} ${WRKSRC}/auth_ldap.html \ - ${PREFIX}/share/doc/mod_auth_ldap + ${PREFIX}/share/doc/mod_auth_ldap ${INSTALL_DATA} ${WRKSRC}/future-directions.html \ - ${PREFIX}/share/doc/mod_auth_ldap + ${PREFIX}/share/doc/mod_auth_ldap + +BUILDLINK_DEPMETHOD.apache= full + +.include "../../databases/openldap/buildlink2.mk" +.include "../../www/apache/buildlink2.mk" -.include "../../databases/openldap/buildlink.mk" -.include "../../www/apache/buildlink.mk" .include "../../mk/bsd.pkg.mk" |