request add db45/db46 support to www/apache22 port

Jiawei Ye leafy7382 at gmail.com
Tue Aug 14 09:53:59 PDT 2007


On 8/15/07, snowcrash+freebsd <schneecrash+freebsd at gmail.com> wrote:
> 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!
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
The change for db46 will fail because the DB version is hardcoded in
apr-util configure script. You need to patch that as well.

Jiawei Ye

-- 
"If it looks like a duck, walks like a duck, and quacks like a duck,
then to the end user it's a duck, and end users have made it pretty
clear they want a duck; whether the duck drinks hot chocolate or
coffee is irrelevant."


More information about the freebsd-questions mailing list