diff options
author | adrianp <adrianp> | 2007-05-05 21:32:12 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2007-05-05 21:32:12 +0000 |
commit | 7f5265196d970ec7b68232ff347e2d297ff4a3b7 (patch) | |
tree | 608795afd1ed278fbba460db543e9669d1470f16 /lang/php | |
parent | 78918f2143478da92bcddd11adb85f9edf1d4fad (diff) | |
download | pkgsrc-7f5265196d970ec7b68232ff347e2d297ff4a3b7.tar.gz |
Including pear.mk will now pull in lang/pear as a dependency
Fix the PHP call to include the default include path for PEAR
Diffstat (limited to 'lang/php')
-rw-r--r-- | lang/php/pear.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/php/pear.mk b/lang/php/pear.mk index 1a6c36ef9c0..88a81844811 100644 --- a/lang/php/pear.mk +++ b/lang/php/pear.mk @@ -1,4 +1,4 @@ -# $NetBSD: pear.mk,v 1.9 2006/06/02 18:27:56 joerg Exp $ +# $NetBSD: pear.mk,v 1.10 2007/05/05 21:32:12 adrianp Exp $ # # This Makefile fragment is intended to be included by packages that build # and install pear packages. @@ -29,6 +29,8 @@ DIST_SUBDIR= pear HOMEPAGE?= http://pear.php.net/package/${DISTNAME:C/-.*//} +DEPENDS+= ${PHP_PKG_PREFIX}-pear-[0-9]*:../../lang/pear + PEAR_CMD= ${PREFIX}/bin/pear PEAR_LIB= lib/php @@ -41,7 +43,8 @@ PEAR_GENERATE_PLIST= \ ${ECHO} "@comment The following lines are automatically generated"; \ PEAR_LIB="${PEAR_LIB}" WRKSRC="${WRKSRC}" \ PEAR_DIRRM_BASEDIR="${PEAR_DIRRM_BASEDIR}" \ - ${PREFIX}/bin/php -C -n ${PKGDIR}/../../lang/php/pear_plist.php; + ${PREFIX}/bin/php -d include_path=".:${PREFIX}/lib/php" \ + -C -n ${PKGDIR}/../../lang/php/pear_plist.php; GENERATE_PLIST+= ${PEAR_GENERATE_PLIST} NO_BUILD= yes |