Date: Sun, 22 Jan 2006 14:00:20 -0800 From: Brandon Fosdick <bfoz@bfoz.net> To: Spadge <spadge@fromley.net> Cc: ports@freebsd.org Subject: Re: php5 and apache20? Message-ID: <43D40074.2000206@bfoz.net> In-Reply-To: <43D39ADB.7010608@fromley.net> References: <43D305D4.6020402@bfoz.net> <43D39ADB.7010608@fromley.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Spadge wrote: > I do it by including the following to a lang/php5 stanza in the > MAKE_ARGS section of /usr/local/etc/pkgtools.conf: > > WITH_APACHE2=YES If I have apache already installed, this gets me as far as configure, which then bails out looking for apr-1-config. If I don't already have apache installed it proceeds to install apache20, as desired. However the apache20 port doesn't build, I can only install it with a package. > And then let portinstall pick it up. > > You could probably do it by changing the apache version in the Makefile > > .if defined(WITH_APACHE) > PKGMESSAGE= ${PKGDIR}/pkg-message.mod > USE_APACHE= 1.3+ > MODULENAME= lib${PORTNAME} > SHORTMODNAME= ${PORTNAME} > .endif > > Change 1.3+ to 2.0+ or something. This works if I have apache20 installed from a package. Seems like something is wrong with the apache port. Thanks for the help.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D40074.2000206>