diff options
author | taca <taca@pkgsrc.org> | 2012-06-16 15:18:13 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2012-06-16 15:18:13 +0000 |
commit | c0935424aabccbe1860335d3557eb6af652ffdd5 (patch) | |
tree | b4285f9a33abbd282451d4b71689295aa02a9f34 /lang | |
parent | 6480a6050054ffed7a49348e866e92cff2fc63b0 (diff) | |
download | pkgsrc-c0935424aabccbe1860335d3557eb6af652ffdd5.tar.gz |
Remove support for php5 (PHP 5.2.x).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php/phpversion.mk | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk index 7312511b42d..871b7ebd0b4 100644 --- a/lang/php/phpversion.mk +++ b/lang/php/phpversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: phpversion.mk,v 1.18 2012/06/16 02:47:51 taca Exp $ +# $NetBSD: phpversion.mk,v 1.19 2012/06/16 15:18:13 taca 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 @@ -10,7 +10,7 @@ # The PHP version to choose when more than one is acceptable to # the package. # -# Possible: 52 53 54 +# Possible: 53 54 # Default: 53 # # === Package-settable variables === @@ -18,14 +18,14 @@ # PHP_VERSIONS_ACCEPTED # The PHP versions that are accepted by the package. # -# Possible: 52 53 54 -# Default: 52 53 54 +# Possible: 53 54 +# Default: 53 54 # # PHP_VERSION_REQD # If the package works only with a specific PHP version, this # variable can be used to force it. # -# Possible: (undefined) 52 53 54 +# Possible: (undefined) 53 54 # Default: (undefined) # # === Variables defined by this file === @@ -33,7 +33,7 @@ # PKG_PHP_VERSION # The selected PHP version. # -# Possible: 52 53 54 +# Possible: 53 54 # Default: ${PHP_VERSION_DEFAULT} # # PHP_BASE_VERS @@ -57,7 +57,7 @@ # PHP_PKG_PREFIX # The prefix that is prepended to the package name. # -# Example: php5, php53, php54 +# Example: php53, php54 # # Keywords: php # @@ -73,12 +73,11 @@ _SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ .include "../../mk/bsd.prefs.mk" -PHP52_VERSION= 5.2.17 PHP53_VERSION= 5.3.14 PHP54_VERSION= 5.4.4 PHP_VERSION_DEFAULT?= 53 -PHP_VERSIONS_ACCEPTED?= 52 53 54 +PHP_VERSIONS_ACCEPTED?= 53 54 # transform the list into individual variables .for pv in ${PHP_VERSIONS_ACCEPTED} @@ -92,9 +91,6 @@ _PHP_INSTALLED= yes .elif exists(${LOCALBASE}/lib/php/20090626) || exists(${LOCALBASE}/include/php/Zend/zend_gc.h) _PHP_VERSION_53_INSTALLED= yes _PHP_INSTALLED= yes -.elif exists(${LOCALBASE}/lib/php/20040412) -_PHP_VERSION_52_INSTALLED= yes -_PHP_INSTALLED= yes .endif # if a version is explicitely required, take it @@ -159,11 +155,7 @@ PHP_VERSION_REQD:= ${PKG_PHP_VERSION} # # set variables for the version we decided to use: # -.if ${_PHP_VERSION} == "52" -PHPPKGSRCDIR= ../../lang/php5 -PHP_BASE_VERS= ${PHP52_VERSION} -PHP_PKG_PREFIX= php5 -.elif ${_PHP_VERSION} == "53" +.if ${_PHP_VERSION} == "53" PHPPKGSRCDIR= ../../lang/php53 PHP_BASE_VERS= ${PHP53_VERSION} PHP_PKG_PREFIX= php53 |