aboutsummaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2008-01-16 09:33:45 +0000
committerMartin Matuska <mm@FreeBSD.org>2008-01-16 09:33:45 +0000
commit4fc1e08db50bd818f483ffe1a8b4587d0fdd2f6f (patch)
tree06db6b90de5f9c7ec5ed9b685c07f2843d13f9d2 /www/apache22
parenteed11dd5988466509de1f0542dfccc92bd2a987e (diff)
downloadports-4fc1e08db50bd818f483ffe1a8b4587d0fdd2f6f.tar.gz
ports-4fc1e08db50bd818f483ffe1a8b4587d0fdd2f6f.zip
Notes
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile.doc4
-rw-r--r--www/apache22/Makefile.modules8
2 files changed, 10 insertions, 2 deletions
diff --git a/www/apache22/Makefile.doc b/www/apache22/Makefile.doc
index a1eb35bf6302..3bb566c0ab84 100644
--- a/www/apache22/Makefile.doc
+++ b/www/apache22/Makefile.doc
@@ -38,8 +38,8 @@
## WITH_DBM: Choose your DBM: bdb (Berkeley DB), gdbm or
## ndbm (default)
## WITH_BERKELEYDB: Choose your BerkeleyDB version: db2, db3,
-## db4, db41, db42, db43, db44 or FreeBSD
-## (1.85, default)
+## db4, db41, db42, db43, db44, db45, db46
+## or FreeBSD (1.85, default)
## WITH_STATIC_SUPPORT: Build statically linked support binaries
## WITH_STATIC_APACHE: Build a static version of httpd (implies
## WITH_STATIC_MODULES)
diff --git a/www/apache22/Makefile.modules b/www/apache22/Makefile.modules
index 5932e5645195..0cc0b4698221 100644
--- a/www/apache22/Makefile.modules
+++ b/www/apache22/Makefile.modules
@@ -121,6 +121,14 @@ CONFIGURE_ARGS+= --with-dbm=db43 \
LIB_DEPENDS+= db-4.4:${PORTSDIR}/databases/db44
CONFIGURE_ARGS+= --with-dbm=db44 \
--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44
+. elif ${WITH_BERKELEYDB} == "db45"
+LIB_DEPENDS+= db-4.5:${PORTSDIR}/databases/db45
+CONFIGURE_ARGS+= --with-dbm=db45 \
+ --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db45
+. elif ${WITH_BERKELEYDB} == "db46"
+LIB_DEPENDS+= db-4.6:${PORTSDIR}/databases/db46
+CONFIGURE_ARGS+= --with-dbm=db46 \
+ --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db46
. else
IGNORE= "Unknown Berkeley DB version"
. endif