summaryrefslogtreecommitdiff
path: root/devel/p5-LDAP
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-10-20 23:35:09 +0000
committerseb <seb@pkgsrc.org>2002-10-20 23:35:09 +0000
commit34e5b77c6c4e9ec4e20c36716eb6540469b49ab9 (patch)
treea172960070639f54c2c88527963ff99f187d2968 /devel/p5-LDAP
parent67d6c1c868b2a0ad7a47bfa459d6552ac8b5b56c (diff)
downloadpkgsrc-34e5b77c6c4e9ec4e20c36716eb6540469b49ab9.tar.gz
Use buildlink2. Use perl5/module.mk.
Diffstat (limited to 'devel/p5-LDAP')
-rw-r--r--devel/p5-LDAP/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/devel/p5-LDAP/Makefile b/devel/p5-LDAP/Makefile
index 2180f58b96d..4a0b91deb5e 100644
--- a/devel/p5-LDAP/Makefile
+++ b/devel/p5-LDAP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/10/18 15:20:17 veego Exp $
+# $NetBSD: Makefile,v 1.6 2002/10/20 23:35:10 seb Exp $
#
DISTNAME= perldap-1.2.2
@@ -12,18 +12,15 @@ MAINTAINER= packages@netbd.org
HOMEPAGE= http://www.mozilla.org/directory/perldap.html
COMMENT= Perl5 module to build LDAP clients with perl
-DEPENDS+= ldapsdk-12311998:../../devel/ldapsdk
-
-USE_PERL5= # defined
+USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mozilla/LDAP/API/.packlist
WRKSRC= ${WRKDIR}/perldap
-MAKE_ENV+= LDAPSDKDIR=${LOCALBASE}
+MAKE_ENV+= LDAPSDKDIR=${BUILDLINK_PREFIX.ldapsdk}
MAKE_ENV+= LDAPSDKSSL="no"
MAKE_ENV+= LDAPV3ON="yes"
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-
+.include "../../devel/ldapsdk/buildlink2.mk"
+.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"