From b08f6eeace427c09700a3014fd7e941564af4b91 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 22 Apr 2016 09:46:50 +0000 Subject: Detect php-7.0 (define _PHP_VERSION_70_INSTALLED). Addresses PR 50957. --- lang/php/phpversion.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang') 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) -- cgit v1.2.3