pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-DB_File Convert to bl3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a881f04e2580
branches:  trunk
changeset: 475348:a881f04e2580
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri May 14 18:38:54 2004 +0000

description:
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:

 databases/p5-DB_File/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r eed2d513b106 -r a881f04e2580 databases/p5-DB_File/Makefile
--- a/databases/p5-DB_File/Makefile     Fri May 14 18:30:52 2004 +0000
+++ b/databases/p5-DB_File/Makefile     Fri May 14 18:38:54 2004 +0000
@@ -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@localhost
 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 @@
 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



Home | Main Index | Thread Index | Old Index