request add db45/db46 support to www/apache22 port
snowcrash+freebsd
schneecrash+freebsd at gmail.com
Tue Aug 14 09:21:11 PDT 2007
hi,
with db45/db46 now in ports and supported in make.conf, can we get
port(www/apache22) updated as well?
looks simple, namely:
> vi Makefile.modules
=================================================================
@95
. elif ${WITH_BERKELEYDB} == "db44"
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"
=================================================================
though some clever soul might suggest that it be changed to
automatically pick the BDB settings ....
thanks!
More information about the freebsd-ports
mailing list