From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 24 21:00:49 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97E2D16A4D1 for ; Wed, 24 Nov 2004 21:00:49 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83D6443D31 for ; Wed, 24 Nov 2004 21:00:49 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iAOL0nGw044446 for ; Wed, 24 Nov 2004 21:00:49 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iAOL0nwp044445; Wed, 24 Nov 2004 21:00:49 GMT (envelope-from gnats) Date: Wed, 24 Nov 2004 21:00:49 GMT Message-Id: <200411242100.iAOL0nwp044445@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Thierry Thomas Subject: Re: ports/74300: Port devel/php5-pear builds php4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 21:00:49 -0000 The following reply was made to PR ports/74300; it has been noted by GNATS. From: Thierry Thomas To: Majost 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 é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.