Fri Aug 17 15:37:30 2012 UTC ()
Update PHP53_VERSION and PHP54_VERSION.


(taca)
diff -r1.20 -r1.21 pkgsrc/lang/php/phpversion.mk

cvs diff -r1.20 -r1.21 pkgsrc/lang/php/phpversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/php/phpversion.mk 2012/07/25 10:50:12 1.20
+++ pkgsrc/lang/php/phpversion.mk 2012/08/17 15:37:30 1.21
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: phpversion.mk,v 1.20 2012/07/25 10:50:12 taca Exp $ 1# $NetBSD: phpversion.mk,v 1.21 2012/08/17 15:37:30 taca Exp $
2# 2#
3# This file selects a PHP version, based on the user's preferences and 3# This file selects a PHP version, based on the user's preferences and
4# the installed packages. It does not add a dependency on the PHP 4# the installed packages. It does not add a dependency on the PHP
5# package. 5# package.
6# 6#
7# === User-settable variables === 7# === User-settable variables ===
8# 8#
9# PHP_VERSION_DEFAULT 9# PHP_VERSION_DEFAULT
10# The PHP version to choose when more than one is acceptable to 10# The PHP version to choose when more than one is acceptable to
11# the package. 11# the package.
12# 12#
13# Possible: 53 54 13# Possible: 53 54
14# Default: 53 14# Default: 53
@@ -63,28 +63,28 @@ @@ -63,28 +63,28 @@
63# 63#
64 64
65.if !defined(PHPVERSION_MK) 65.if !defined(PHPVERSION_MK)
66PHPVERSION_MK= defined 66PHPVERSION_MK= defined
67 67
68_VARGROUPS+= php 68_VARGROUPS+= php
69_USER_VARS.php= PHP_VERSION_DEFAULT 69_USER_VARS.php= PHP_VERSION_DEFAULT
70_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD 70_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD
71_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ 71_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \
72 PKG_PHP_MAJOR_VERS 72 PKG_PHP_MAJOR_VERS
73 73
74.include "../../mk/bsd.prefs.mk" 74.include "../../mk/bsd.prefs.mk"
75 75
76PHP53_VERSION= 5.3.15 76PHP53_VERSION= 5.3.16
77PHP54_VERSION= 5.4.5 77PHP54_VERSION= 5.4.6
78 78
79PHP_VERSION_DEFAULT?= 53 79PHP_VERSION_DEFAULT?= 53
80PHP_VERSIONS_ACCEPTED?= 53 54 80PHP_VERSIONS_ACCEPTED?= 53 54
81 81
82# transform the list into individual variables 82# transform the list into individual variables
83.for pv in ${PHP_VERSIONS_ACCEPTED} 83.for pv in ${PHP_VERSIONS_ACCEPTED}
84_PHP_VERSION_${pv}_OK= yes 84_PHP_VERSION_${pv}_OK= yes
85.endfor 85.endfor
86 86
87# check what is installed 87# check what is installed
88.if exists(${LOCALBASE}/lib/php/20120301) 88.if exists(${LOCALBASE}/lib/php/20120301)
89_PHP_VERSION_54_INSTALLED= yes 89_PHP_VERSION_54_INSTALLED= yes
90_PHP_INSTALLED= yes 90_PHP_INSTALLED= yes