From owner-freebsd-ports@FreeBSD.ORG Sun Jan 22 22:00:45 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D151A16A422 for ; Sun, 22 Jan 2006 22:00:45 +0000 (GMT) (envelope-from bfoz@bfoz.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 360A943D46 for ; Sun, 22 Jan 2006 22:00:31 +0000 (GMT) (envelope-from bfoz@bfoz.net) Received: from [192.168.0.5] (c-24-6-134-233.hsd1.ca.comcast.net[24.6.134.233]) by comcast.net (sccrmhc12) with ESMTP id <200601222200210120060p6pe>; Sun, 22 Jan 2006 22:00:22 +0000 Message-ID: <43D40074.2000206@bfoz.net> Date: Sun, 22 Jan 2006 14:00:20 -0800 From: Brandon Fosdick User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060102) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Spadge References: <43D305D4.6020402@bfoz.net> <43D39ADB.7010608@fromley.net> In-Reply-To: <43D39ADB.7010608@fromley.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: php5 and apache20? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 22:00:46 -0000 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.