| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: phpversion.mk,v 1.157 2016/09/16 16:10:28 taca Exp $ | | 1 | # $NetBSD: phpversion.mk,v 1.158 2016/09/17 08:36:50 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: 56 70 71 | | 13 | # Possible: 56 70 71 |
14 | # Default: 56 | | 14 | # Default: 56 |
| @@ -79,27 +79,27 @@ | | | @@ -79,27 +79,27 @@ |
79 | # initial release of major version. | | 79 | # initial release of major version. |
80 | # | | 80 | # |
81 | # Example: lib/php/20140828 | | 81 | # Example: lib/php/20140828 |
82 | # | | 82 | # |
83 | # Keywords: php | | 83 | # Keywords: php |
84 | # | | 84 | # |
85 | | | 85 | |
86 | .if !defined(PHPVERSION_MK) | | 86 | .if !defined(PHPVERSION_MK) |
87 | PHPVERSION_MK= defined | | 87 | PHPVERSION_MK= defined |
88 | | | 88 | |
89 | # Define each PHP's version. | | 89 | # Define each PHP's version. |
90 | PHP56_VERSION= 5.6.26 | | 90 | PHP56_VERSION= 5.6.26 |
91 | PHP70_VERSION= 7.0.11 | | 91 | PHP70_VERSION= 7.0.11 |
92 | PHP71_VERSION= 7.1.0RC1 | | 92 | PHP71_VERSION= 7.1.0RC2 |
93 | | | 93 | |
94 | # Define initial release of major version. | | 94 | # Define initial release of major version. |
95 | PHP56_RELDATE= 20140828 | | 95 | PHP56_RELDATE= 20140828 |
96 | PHP70_RELDATE= 20151203 | | 96 | PHP70_RELDATE= 20151203 |
97 | PHP71_RELDATE= 20160303 | | 97 | PHP71_RELDATE= 20160303 |
98 | | | 98 | |
99 | _VARGROUPS+= php | | 99 | _VARGROUPS+= php |
100 | _USER_VARS.php= PHP_VERSION_DEFAULT | | 100 | _USER_VARS.php= PHP_VERSION_DEFAULT |
101 | _PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD | | 101 | _PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD |
102 | _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ | | 102 | _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ |
103 | PKG_PHP_MAJOR_VERS | | 103 | PKG_PHP_MAJOR_VERS |
104 | | | 104 | |
105 | .include "../../mk/bsd.prefs.mk" | | 105 | .include "../../mk/bsd.prefs.mk" |