cf84b8ef6a
Patch provided by Mark E. Perkins in PR 36465. 1.815 4 February 2007 * A few casting cleanups for building with C++ from Steve Peters. * Fixed problem with recno which happened if you changed directory after opening the database. Problem reported by Andrew Pam.
25 lines
695 B
Makefile
25 lines
695 B
Makefile
# $NetBSD: Makefile,v 1.21 2007/06/10 08:24:13 obache Exp $
|
|
|
|
DISTNAME= DB_File-1.815
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5dfi
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Perl5 module to use Berkeley DB version 1 API
|
|
|
|
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"
|
|
.if empty(BDB_TYPE:Mdb1)
|
|
MAKE_ENV+= DB_FILE_COMPAT185=1
|
|
.endif
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|