summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-05-02 14:15:35 +0000
committerwiz <wiz@pkgsrc.org>2003-05-02 14:15:35 +0000
commit3676a04f278523b85bb6b2db3a4a93613b76702a (patch)
tree1175088cafc36fb6d0240262e835bbc1e44525c1 /security
parente4ec3050839b188052461cc3e4089b03da9d8c63 (diff)
downloadpkgsrc-3676a04f278523b85bb6b2db3a4a93613b76702a.tar.gz
Convert to buildlink2.
Diffstat (limited to 'security')
-rw-r--r--security/pam-ldap/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index 3e15b681a08..4420e6b9a8e 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/05/02 11:56:19 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2003/05/02 14:15:35 wiz Exp $
#
DISTNAME= pam_ldap-150
@@ -11,15 +11,12 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.padl.com/pam_ldap.html
COMMENT= pluggable authentication module for LDAP directories
-DEPENDS+= openldap>=2.0.27nb3:../../databases/openldap
-DEPENDS+= PAM-[0-9]*:../../security/PAM
-
GNU_CONFIGURE= YES
-#CPPFLAGS+= -I${WRKSRC}
+USE_BUILDLINK2= YES
CONFIGURE_ARGS+= --with-ldap-lib=openldap
-CONFIGURE_ARGS+= --with-ldap-dir=${PREFIX}
-CONFIGURE_ARGS+= --with-ldap-conf-file=${PREFIX}/etc/pam/pam.conf
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/pam
+CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap}
+CONFIGURE_ARGS+= --with-ldap-conf-file=${BUILDLINK_PREFIX.pam}/etc/pam/pam.conf
+CONFIGURE_ARGS+= --sysconfdir=${BUILDLINK_PREFIX.pam}/etc/pam
INSTALL_TARGET= install install-data
post-install:
@@ -28,4 +25,6 @@ post-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${doc} ${PREFIX}/share/doc/pam-ldap
.endfor
+.include "../../databases/openldap/buildlink2.mk"
+.include "../../security/PAM/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"