From 885e0fcbdbb067f22c136ee6ee58831bd4bad679 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 12 Mar 2011 14:07:13 +0000 Subject: Add MULTI variable, and add it to BUILD_DEFS, to more easily find variable settings affecting binary packages. From Aleksey Cheusov in PR 44695. --- lang/php/phpversion.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/php') 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/} -- cgit v1.2.3