devel/pear-install: fixing an install issue.

Under some circumstances, Makefile may fail to define
	PEAR_DIR. This PR forces PHP_BASE to LOCALBASE when php-config
	is not found.

PR:		ports/50001
Submitted by:	Thierry Thomas <thierry@pompo.net>
This commit is contained in:
Edwin Groothuis 2003-03-30 01:46:20 +00:00
parent a7552c4deb
commit 64e4c650a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77716

View File

@ -28,6 +28,7 @@ PHP_VERSION!= ${LOCALBASE}/bin/php-config --version
PHP_BASE!= ${LOCALBASE}/bin/php-config --prefix
.else
PHP_VERSION= 4.3.0
PHP_BASE= ${LOCALBASE}
.endif
LPHP_LIB= lib/php