till wrote:
On 8/2/07, Jim Pingle lists@pingle.org wrote:
(...) I maintain PHP installs on several servers, updating as needed, and the only thing that gets me on a regular basis is having to check and recheck the extension ordering. Often this is as easy as backing up my current /usr/local/etc/php/extensions.ini and then copying it back after portupgrade finishes.
This and the issues with extensions that actually need to be build static (e.g. PCRE, OpenSSL), but FreeBSD builds them all shared. The only obstacles I ran into in over five years of FreeBSD-happyness. ;-)
I haven't hit that, but I thought there were some knobs that could be set in make.conf to accomplish that. I don't remember if CONFIGURE_ARGS gets carried over from the environment or not, if it does you can set the variables like I do below. You can always hack the Makefile, but that's not too elegant and it gets clobbered every time you update.
For example, here's what I do to get subversion and Apache2 to play nice, in /etc/make.conf:
.if ${.CURDIR:M*/www/apache22} WITH_BERKELEYDB=db42 .endif .if ${.CURDIR:M*/devel/subversion} WITH_APACHE2_APR=yes .endif .if ${.CURDIR:M*/devel/apr-svn} APR_UTIL_WITH_BERKELEY_DB=yes .endif
And I don't have to worry about setting those every time I do a port upgrade.
Jim _______________________________________________ List info: http://lists.roundcube.net/dev/