summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-03-12 14:07:13 +0000
committerwiz <wiz@pkgsrc.org>2011-03-12 14:07:13 +0000
commit258be2274052edafd720eee842c26b2a7a42fa97 (patch)
tree6b9cc97371ecb51ea0fbb7eb17a5b94d554cdbdb /lang/php
parentcb7ed6de116ad894998940a7c1e5e61ee18d09dc (diff)
downloadpkgsrc-258be2274052edafd720eee842c26b2a7a42fa97.tar.gz
Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages. From Aleksey Cheusov in PR 44695.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/phpversion.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk
index 83ba94ce5c1..f68b855fdf3 100644
--- a/lang/php/phpversion.mk
+++ b/lang/php/phpversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.13 2010/09/23 07:38:05 taca Exp $
+# $NetBSD: phpversion.mk,v 1.14 2011/03/12 14:07:13 wiz Exp $
#
# This file selects a PHP version, based on the user's preferences and
# the installed packages. It does not add a dependency on the PHP
@@ -136,6 +136,10 @@ _PHP_VERSION= ${PHP_VERSION_DEFAULT}
_PHP_VERSION= ${_PHP_VERSION_FIRSTACCEPTED}
.endif
+#
+# Variable assignment for multi-PHP packages
+MULTI+= PHP_VERSION_REQD=${_PHP_VERSION}
+
# export some of internal variables
PKG_PHP_VERSION:= ${_PHP_VERSION:C/\.[0-9]//}
PKG_PHP:= PHP${_PHP_VERSION:C/([0-9])([0-9])/\1.\2/}