diff options
author | wiz <wiz@pkgsrc.org> | 2016-04-22 09:46:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-04-22 09:46:50 +0000 |
commit | 9af413db7484d023b2828fddbac48410de6f79df (patch) | |
tree | d90de185a0d82dbb9398057c7fe5dc419bdbfdd9 /lang | |
parent | c19b92022b50c211f31a5b09358bf53694afe666 (diff) | |
download | pkgsrc-9af413db7484d023b2828fddbac48410de6f79df.tar.gz |
Detect php-7.0 (define _PHP_VERSION_70_INSTALLED).
Addresses PR 50957.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php/phpversion.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk index 39d16d9fd15..4d386b86ad7 100644 --- a/lang/php/phpversion.mk +++ b/lang/php/phpversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: phpversion.mk,v 1.131 2016/04/02 09:02:11 taca Exp $ +# $NetBSD: phpversion.mk,v 1.132 2016/04/22 09:46:50 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 @@ -107,7 +107,10 @@ _PHP_VERSION_${pv}_OK= yes .endfor # check what is installed -.if exists(${LOCALBASE}/lib/php/20140828) +.if exists(${LOCALBASE}/lib/php/20151203) +_PHP_VERSION_70_INSTALLED= yes +_PHP_INSTALLED= yes +.elif exists(${LOCALBASE}/lib/php/20140828) _PHP_VERSION_56_INSTALLED= yes _PHP_INSTALLED= yes .elif exists(${LOCALBASE}/lib/php/20130620) |