php5 and apache20?
Spadge
spadge at fromley.net
Sun Jan 22 06:47:01 PST 2006
Brandon Fosdick wrote:
> What magic do I need to get lang/php5 to play nice with www/apache20? I already have apache20 installed, and when I try to install php5 it installs apache13 as a dependency. I don't want apache13. How do I get php5 to behave?
> _______________________________________________
> 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"
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
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.
Good luck.
--
Spadge
"Intoccabile"
www.fromley.com
More information about the freebsd-ports
mailing list