pkgsrc/databases/p5-DB_File/Makefile
grant 908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00

25 lines
707 B
Makefile

# $NetBSD: Makefile,v 1.12 2004/12/20 11:30:57 grant Exp $
DISTNAME= DB_File-1.806
PKGNAME= p5-${DISTNAME}
SVR$_PKGNAME= p5dbfi
PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DB_File/}
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Perl5 module to use Berkeley DB version 1 API
USE_BUILDLINK3= yes
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DB_File/.packlist
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bdb.buildlink3.mk"
MAKE_ENV+= DB_NAME="${BDB_LIBS}"
MAKE_ENV+= DB_FILE_INCLUDE="${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}"
MAKE_ENV+= DB_FILE_LIB="${BDBBASE}/lib"
MAKE_ENV+= DB_FILE_COMPAT185=1
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"