ports/74300: Port devel/php5-pear builds php4
Thierry Thomas
thierry at FreeBSD.org
Wed Nov 24 21:00:49 UTC 2004
The following reply was made to PR ports/74300; it has been noted by GNATS.
From: Thierry Thomas <thierry at FreeBSD.org>
To: Majost <majost at lagparty.org>
Cc: freebsd-gnats-submit at 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 at 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.
More information about the freebsd-ports-bugs
mailing list