summaryrefslogtreecommitdiff
path: root/databases/p5-perl-ldap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-perl-ldap/Makefile')
-rw-r--r--databases/p5-perl-ldap/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/databases/p5-perl-ldap/Makefile b/databases/p5-perl-ldap/Makefile
index 14f7fbc5228..3a485bfabe8 100644
--- a/databases/p5-perl-ldap/Makefile
+++ b/databases/p5-perl-ldap/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2008/06/12 02:14:18 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2008/10/12 20:54:44 seb Exp $
-DISTNAME= perl-ldap-0.34
-PKGNAME= p5-perl-ldap-0.34
+DISTNAME= perl-ldap-0.38
+PKGNAME= p5-perl-ldap-0.38
SVR4_PKGNAME= pldap
CATEGORIES= databases net devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=LWP/}
@@ -12,15 +12,17 @@ COMMENT= Perl class to access LDAP servers
PKG_DESTDIR_SUPPORT= user-destdir
+BUILD_DEFS+= IPV6_READY
+
DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
DEPENDS+= p5-IO-Socket-SSL>=0.81:../../security/p5-IO-Socket-SSL
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
DEPENDS+= p5-URI>=1.08:../../www/p5-URI
-DEPENDS+= p5-XML-SAX-[0-9]*:../../textproc/p5-XML-SAX
+DEPENDS+= p5-XML-SAX-Writer-[0-9]*:../../textproc/p5-XML-SAX-Writer
MAKE_PARAMS+= --skip # skip CPAN auto installation of modules
-PKG_SUPPORTED_OPTIONS= sasl
+PKG_SUPPORTED_OPTIONS= sasl inet6
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-perl-ldap
.include "../../mk/bsd.options.mk"
@@ -29,6 +31,10 @@ DEPENDS+= p5-Authen-SASL>=2.00:../../security/p5-Authen-SASL
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
.endif
+.if !empty(PKG_OPTIONS:Minet6)
+DEPENDS+= p5-INET6-[0-9]*:../../net/p5-INET6
+.endif
+
PERL5_PACKLIST= auto/Net/LDAP/.packlist
.include "../../lang/perl5/module.mk"