diff options
author | wiz <wiz@pkgsrc.org> | 2004-05-14 18:38:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-05-14 18:38:54 +0000 |
commit | ee1c2e3653b91a3e7bf9335a20a4accb0bf867c6 (patch) | |
tree | 2661f60e37bbf462b415ab6f22d31c281bf3dcbb /databases | |
parent | 5d1f487a096d3bbeebaa0e92a8f05cad2bb82380 (diff) | |
download | pkgsrc-ee1c2e3653b91a3e7bf9335a20a4accb0bf867c6.tar.gz |
Convert to bl3.
XXX:
When PKG_SKIP_REASON is commented out, it builds on NetBSD.
Should be tested on some platform that doesn't have db1 in the base
system, too.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DB_File/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/p5-DB_File/Makefile b/databases/p5-DB_File/Makefile index 32c857515cc..53adfd979c8 100644 --- a/databases/p5-DB_File/Makefile +++ b/databases/p5-DB_File/Makefile @@ -1,20 +1,20 @@ -# $NetBSD: Makefile,v 1.5 2003/10/07 23:57:20 heinz Exp $ +# $NetBSD: Makefile,v 1.6 2004/05/14 18:38:54 wiz Exp $ DISTNAME= DB_File-1.806 PKGNAME= p5-${DISTNAME} SVR$_PKGNAME= p5dbfi CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/} +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/} MAINTAINER= tech-pkg@NetBSD.org COMMENT= Perl5 module to use Berkeley DB version 1 API -USE_BUILDLINK2= # defined +USE_BUILDLINK3= # defined USE_DB185= # defined PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DB_File/.packlist .include "../../mk/bsd.prefs.mk" -.include "../../databases/db/buildlink2.mk" +.include "../../mk/bdb.buildlink3.mk" # XXX This is a bit ugly... DB_NAME= ${BUILDLINK_TRANSFORM:Ml\:db\:*:S/l:db:/-l/} @@ -22,7 +22,7 @@ MAKE_ENV+= DB_NAME=${DB_NAME} PERL5_LDFLAGS+= -Wl,${RPATH_FLAG}${BUILDLINK_PREFIX.db}/lib PERL5_LDFLAGS+= -L${BUILDLINK_PREFIX.db}/lib MAKE_ENV+= DB_CPPFLAGS=${BUILDLINK_CPPFLAGS.db} -.if ${_NEED_DB2} == "YES" +.if ${BDB_TYPE} == "db2" MAKE_ENV+= DB_FILE_COMPAT185=1 .else # We assume that DB 1 is provided by the system and perl5 package picked |