Date: Wed, 24 Nov 2004 21:00:49 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/74300: Port devel/php5-pear builds php4 Message-ID: <200411242100.iAOL0nwp044445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/74300; it has been noted by GNATS. From: Thierry Thomas <thierry@FreeBSD.org> To: Majost <majost@lagparty.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/74300: Port devel/php5-pear builds php4 Date: Wed, 24 Nov 2004 21:59:51 +0100 Le Mer 24 nov 04 à 2:01:21 +0100, Majost <majost@lagparty.org> écrivait : > I am unable to perform the operation on the exact same box which I was > attempting to work on; however my laptop also is running 5.3 and > exhibits the same problem. I was able to get it working on the first > machine with a quick and dirty hack... I removed the php4 ports it was > looking for and symlinked the php5 versions to their php4 counter part. > eg: ln -s /usr/ports/devel/php5 /usr/ports/devel/php4 I know it is > bad. I was in a pinch though. heh > > Any event... the information my laptop returned is as follows: > > [karl] /usr/ports/devel/php5-pear> make -V PHP_VER > 4 > [karl] /usr/ports/devel/php5-pear> cat /usr/local/etc/php.conf > cat: /usr/local/etc/php.conf: No such file or directory Well, that means that PHP - neither 4 nor 5 - has been installed, and PHP4 is the default. But if you install firstly devel/php5-pear, which is a slave port of PHP5, it will define PHP_VER=5: post-build: @${ECHO_CMD} "PHP_VER=5" > ${WRKDIR}/php.conf Once this is defined, every extension will use PHP5. Regards, -- Th. Thomas.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411242100.iAOL0nwp044445>