summaryrefslogtreecommitdiff
path: root/www/ap-auth-ldap
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2001-10-26 14:17:18 +0000
committerkleink <kleink@pkgsrc.org>2001-10-26 14:17:18 +0000
commit303313aa77e82a5aa52dd0c16cdce615eb3d5f3f (patch)
treefe3308414298821055ec8f6f8eea85402feab63f /www/ap-auth-ldap
parentd52dd5005a19d883c718553fa7ad3116889f3246 (diff)
downloadpkgsrc-303313aa77e82a5aa52dd0c16cdce615eb3d5f3f.tar.gz
Buildlink'ify.
Diffstat (limited to 'www/ap-auth-ldap')
-rw-r--r--www/ap-auth-ldap/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/www/ap-auth-ldap/Makefile b/www/ap-auth-ldap/Makefile
index b9829752964..b3ca48c5586 100644
--- a/www/ap-auth-ldap/Makefile
+++ b/www/ap-auth-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/10/18 15:20:46 veego Exp $
+# $NetBSD: Makefile,v 1.13 2001/10/26 14:17:18 kleink Exp $
DISTNAME= auth_ldap-1.6.0
PKGNAME= ap-auth-ldap-1.6.0
@@ -10,17 +10,11 @@ MAINTAINER= kleink@netbsd.org
HOMEPAGE= http://www.rudedog.org/auth_ldap/
COMMENT= Module to allow apache authentication against an LDAP directory
-DEPENDS+= apache{,6}-1.3.*:../../www/apache
-DEPENDS+= openldap-1.2.*:../../databases/openldap
-
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
-
do-build:
- @cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c \
+ @cd ${WRKSRC} && ${APXS} -c \
-D WITH_OPENLDAP \
- -I ${LOCALBASE}/include \
- -L ${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lldap -llber \
+ -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
@@ -34,4 +28,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/future-directions.html \
${PREFIX}/share/doc/mod_auth_ldap
+.include "../../databases/openldap/buildlink.mk"
+.include "../../www/apache/buildlink.mk"
.include "../../mk/bsd.pkg.mk"