On 8/15/07, snowcrash+freebsd <[EMAIL PROTECTED]> 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!
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
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."
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to