diff options
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile | 4 | ||||
-rw-r--r-- | lang/php5/Makefile.common | 3 | ||||
-rw-r--r-- | lang/php5/Makefile.php | 5 |
3 files changed, 8 insertions, 4 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 847f7468459..5fdb24c4491 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2008/05/04 16:50:44 adrianp Exp $ +# $NetBSD: Makefile,v 1.65 2008/07/08 20:28:55 adrianp Exp $ PKGNAME= php-${PHP_BASE_VERS} CATEGORIES= lang - +PKGREVISION= 1 HOMEPAGE= http://www.php.net/ COMMENT= PHP Hypertext Preprocessor version 5 diff --git a/lang/php5/Makefile.common b/lang/php5/Makefile.common index 2c543187a1c..e04a744dad1 100644 --- a/lang/php5/Makefile.common +++ b/lang/php5/Makefile.common @@ -1,4 +1,5 @@ -# $NetBSD: Makefile.common,v 1.29 2008/05/04 16:50:44 adrianp Exp $ +# $NetBSD: Makefile.common,v 1.30 2008/07/08 20:28:55 adrianp Exp $ +# used by lang/php5/Makefile.php .if !defined(DISTNAME) DISTNAME= php-${PHP_BASE_VERS} diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php index 913a1b1c30b..8b0b40a8030 100644 --- a/lang/php5/Makefile.php +++ b/lang/php5/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.26 2007/09/07 22:12:13 jlam Exp $ +# $NetBSD: Makefile.php,v 1.27 2008/07/08 20:28:55 adrianp Exp $ # .include "../../lang/php5/Makefile.common" @@ -9,6 +9,7 @@ PATCHDIR= ${.CURDIR}/../../lang/php5/patches USE_LIBTOOL= YES USE_LANGUAGES= c c++ GNU_CONFIGURE= YES +BUILD_DEFS+= VARBASE CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}" @@ -18,6 +19,8 @@ PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR:Q} .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --with-regex=system |