b50a4b0708
- Mk/bsd.database.mk rewrite, new default to db5. - db6 is eligible by default only if installed on the system. - Bump PORTREVISION of all ports that directly depend on BerkeleyDB or where USE_BDB is found in the port's directory - Patch a few ports such that they will pick up or work with newer versions. - Add UPDATING entry - Drive-by format fix for pks - Drop BerkeleyDB option from mail/popular for now, requires more work. - Exp-run logs linked from the PR below. - Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes for new Berkeley DB, but are untested. NOTE: please read UPDATING and the Wiki page before proceeding! Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup PR: 192690 Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
32 lines
751 B
Makefile
32 lines
751 B
Makefile
# Created by: T. William Wells <bill@twwells.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= BerkeleyDB
|
|
PORTVERSION= 0.54
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:PMQS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl5 interface to the Berkeley DB package
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
TEST_DEPENDS= p5-MLDBM>=0:${PORTSDIR}/databases/p5-MLDBM \
|
|
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
USES= perl5 shebangfix
|
|
USE_PERL5= configure
|
|
USE_BDB= 47+
|
|
|
|
SHEBANG_FILES= mkconsts.pl
|
|
|
|
post-patch:
|
|
@${ECHO} "INCLUDE = ${BDB_INCLUDE_DIR}" > ${WRKSRC}/config.in
|
|
@${ECHO} "LIB = ${LOCALBASE}/lib" >> ${WRKSRC}/config.in
|
|
@${ECHO} "DBNAME = -l${BDB_LIB_NAME}" >> ${WRKSRC}/config.in
|
|
|
|
.include <bsd.port.mk>
|