summaryrefslogtreecommitdiff
path: root/lang/php/phpversion.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-02 18:27:54 +0000
committerjoerg <joerg>2006-06-02 18:27:54 +0000
commit29a4a9b873025f72c731c1522c3c786af4889c5a (patch)
treeb7f585bd5e2d200a0004ced04920ab0be7a7445a /lang/php/phpversion.mk
parent816b9641c9a345f2442481d3050397d1a046703f (diff)
downloadpkgsrc-29a4a9b873025f72c731c1522c3c786af4889c5a.tar.gz
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
Diffstat (limited to 'lang/php/phpversion.mk')
-rw-r--r--lang/php/phpversion.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk
index 101a148d738..596eef551df 100644
--- a/lang/php/phpversion.mk
+++ b/lang/php/phpversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.4 2006/05/09 10:06:34 tron Exp $
+# $NetBSD: phpversion.mk,v 1.5 2006/06/02 18:27:56 joerg Exp $
# PHP wrapper, for module builds
.if !defined(PHPVERSION_MK)
@@ -71,9 +71,11 @@ PHP_VERSION_REQD:= ${PKG_PHP_VERSION}
# set variables for the version we decided to use:
#
.if ${_PHP_VERSION} == "4"
-PHPPKGSRCDIR= ../../www/php4
+PHPPKGSRCDIR= ../../www/php4
+PHP_PKG_PREFIX= php4
.elif ${_PHP_VERSION} == "5"
-PHPPKGSRCDIR= ../../lang/php5
+PHPPKGSRCDIR= ../../lang/php5
+PHP_PKG_PREFIX= php5
.else
# force an error
PKG_SKIP_REASON+= "${PKG_PHP} is not a valid package"