pkgsrc/databases/p5-DB_File/Makefile

30 lines
788 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.24 2008/10/19 19:17:43 he Exp $
DISTNAME= DB_File-1.817
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
SVR4_PKGNAME= p5dfi
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/DB_File/
COMMENT= Perl5 module to use Berkeley DB version 1 API
2008-06-20 03:09:05 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/DB_File/.packlist
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bdb.buildlink3.mk"
MAKE_ENV+= DB_FILE_NAME=${BDB_LIBS:Q}
MAKE_ENV+= DB_FILE_INCLUDE="${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}"
MAKE_ENV+= DB_FILE_LIB="${BDBBASE}/lib"
Updated to version 1.814. Pkgsrc changes: - Tests 148-149 in t/db-btree.t were confused by the fact that DB_File seemed to run in compatibility mode ($DB_File::db_185_compat is 1), although db1 was used. Thus, we enable this mode only for db2/db3/db4. - Patch-aa for Makefile.pl now initialises VER_INFO to avoid a warning. - Tested with db1-db4 on NetBSD and db2-db4 on Solaris. Changes since version 1.806: ===================================== 1.814 11 November 2005 * Fix from Dominic Dunlop to tidy up an OS-X specific warning in db-btree.t. * Silenced a warning about $DB_File::Error only being used once. Issue spotted by Dominic Dunlop. 1.813 31st October 2005 * Updates for Berkeley DB 4.4 1.812 9th October 2005 * Added libscan to Makefile.PL * Fixed test failing under windows 1.811 12th March 2005 * Fixed DBM filter bug in seq 1.810 7th August 2004 * Fixed db-hash.t for Cygwin * Added substr tests to db-hast.t * Documented AIX build problem in README. 1.809 20th June 2004 * Merged core patch 22258 * Merged core patch 22741 * Fixed core bug 30237. Using substr to pass parameters to the low-level Berkeley DB interface causes problems with Perl 5.8.1 or better. typemap fix supplied by Marcus Holland-Moritz. 1.808 22nd December 2003 * Added extra DBM Filter tests. * Fixed a memory leak in ParseOpenInfo, which whould occur if the opening of the database failed. Leak spotted by Adrian Enache. 1.807 1st November 2003 * Fixed minor typos on pod documetation - reported by Jeremy Mates & Mark Jason Dominus. * dbinfo updated to report when a database is encrypted.
2005-11-11 21:14:51 +01:00
.if empty(BDB_TYPE:Mdb1)
MAKE_ENV+= DB_FILE_COMPAT185=1
Updated to version 1.814. Pkgsrc changes: - Tests 148-149 in t/db-btree.t were confused by the fact that DB_File seemed to run in compatibility mode ($DB_File::db_185_compat is 1), although db1 was used. Thus, we enable this mode only for db2/db3/db4. - Patch-aa for Makefile.pl now initialises VER_INFO to avoid a warning. - Tested with db1-db4 on NetBSD and db2-db4 on Solaris. Changes since version 1.806: ===================================== 1.814 11 November 2005 * Fix from Dominic Dunlop to tidy up an OS-X specific warning in db-btree.t. * Silenced a warning about $DB_File::Error only being used once. Issue spotted by Dominic Dunlop. 1.813 31st October 2005 * Updates for Berkeley DB 4.4 1.812 9th October 2005 * Added libscan to Makefile.PL * Fixed test failing under windows 1.811 12th March 2005 * Fixed DBM filter bug in seq 1.810 7th August 2004 * Fixed db-hash.t for Cygwin * Added substr tests to db-hast.t * Documented AIX build problem in README. 1.809 20th June 2004 * Merged core patch 22258 * Merged core patch 22741 * Fixed core bug 30237. Using substr to pass parameters to the low-level Berkeley DB interface causes problems with Perl 5.8.1 or better. typemap fix supplied by Marcus Holland-Moritz. 1.808 22nd December 2003 * Added extra DBM Filter tests. * Fixed a memory leak in ParseOpenInfo, which whould occur if the opening of the database failed. Leak spotted by Adrian Enache. 1.807 1st November 2003 * Fixed minor typos on pod documetation - reported by Jeremy Mates & Mark Jason Dominus. * dbinfo updated to report when a database is encrypted.
2005-11-11 21:14:51 +01:00
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"