aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-BerkeleyDB
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-04-06 03:34:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-04-06 03:34:25 +0000
commit1244353b35d992fa201b0cfefc24eef1f675ef58 (patch)
tree0c755afec8ec60e54596c01084e227f584b6e542 /databases/p5-BerkeleyDB
parent338925e47edb14e98c5bb91d4056b3c1a1c712c0 (diff)
downloadports-1244353b35d992fa201b0cfefc24eef1f675ef58.tar.gz
ports-1244353b35d992fa201b0cfefc24eef1f675ef58.zip
Notes
Diffstat (limited to 'databases/p5-BerkeleyDB')
-rw-r--r--databases/p5-BerkeleyDB/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
index 7495258a4d7b..9c07272adbb3 100644
--- a/databases/p5-BerkeleyDB/Makefile
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -26,8 +26,10 @@ LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
.elif ${WITH_BDB_VER} == 41
LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+.elif ${WITH_BDB_VER} == 42
+LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42
.else
-.error WITH_BDB_VER must be one between 2, 3, 4 and 41
+.error WITH_BDB_VER must be one between 2, 3, 4, 41 and 42
.endif
PERL_CONFIGURE= yes
@@ -36,7 +38,7 @@ MAN3= BerkeleyDB.3
pre-everything::
@${ECHO} "This port defaults to use Berkeley DB 3, but you can change it"
- @${ECHO} "by setting WITH_BDB_VER to either 2, 3, 4 or 41"
+ @${ECHO} "by setting WITH_BDB_VER to either 2, 3, 4, 41 or 42"
post-patch:
@${ECHO} "INCLUDE = ${LOCALBASE}/include/db${WITH_BDB_VER}" > ${WRKSRC}/config.in