diff options
author | adrianp <adrianp> | 2008-08-17 18:36:50 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2008-08-17 18:36:50 +0000 |
commit | 2cb94e13b31534a3505a7f6df8db54de73ce6155 (patch) | |
tree | a0ef81e3861ad17dad3384a0b9863f679f841161 /lang/php5 | |
parent | dc782025e670bb433465c1dc0379622e77209967 (diff) | |
download | pkgsrc-2cb94e13b31534a3505a7f6df8db54de73ce6155.tar.gz |
This adds ${PREFIX}/lib/php to the default include_path in php.ini
which makes integration with PEAR a little simpler.
PKGREVISION++
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile | 4 | ||||
-rw-r--r-- | lang/php5/Makefile.php | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 5fdb24c4491..d5e450d9b73 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.65 2008/07/08 20:28:55 adrianp Exp $ +# $NetBSD: Makefile,v 1.66 2008/08/17 18:36:50 adrianp Exp $ PKGNAME= php-${PHP_BASE_VERS} CATEGORIES= lang -PKGREVISION= 1 +PKGREVISION= 2 HOMEPAGE= http://www.php.net/ COMMENT= PHP Hypertext Preprocessor version 5 diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php index 53defd1c0bf..c77e663e0a0 100644 --- a/lang/php5/Makefile.php +++ b/lang/php5/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.28 2008/08/08 20:01:34 adrianp Exp $ +# $NetBSD: Makefile.php,v 1.29 2008/08/17 18:36:50 adrianp Exp $ # .include "../../lang/php5/Makefile.common" @@ -44,6 +44,13 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts PKG_SUGGESTED_OPTIONS+= ssl +SUBST_CLASSES+= ini +SUBST_STAGE.ini= post-patch +SUBST_FILES.ini= php.ini-dist +SUBST_FILES.ini+= php.ini-recommended +SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" +SUBST_MESSAGE.ini= Fixing default ini files. + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Minet6) |