Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2007 00:25:59 +0800
From:      "Jiawei Ye" <leafy7382@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: request add db45/db46 support to www/apache22 port
Message-ID:  <c21e92e20708140925l28edadeek168173774d942bb2@mail.gmail.com>
In-Reply-To: <70f41ba20708140921k43cea2d8oe8f2bada785b49e0@mail.gmail.com>
References:  <70f41ba20708140921k43cea2d8oe8f2bada785b49e0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/15/07, snowcrash+freebsd <schneecrash+freebsd@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e20708140925l28edadeek168173774d942bb2>