summaryrefslogtreecommitdiff
path: root/lang/php
diff options
context:
space:
mode:
authortaca <taca>2013-08-14 14:53:03 +0000
committertaca <taca>2013-08-14 14:53:03 +0000
commitaa890d507ab9baf76bbbeab9af18fe3d95ddd642 (patch)
tree50511461cff9d405b543dbdb2a8c0ea87a0abf46 /lang/php
parent142acc4e9331e913ece7f4fd3a43ac73e0550e05 (diff)
downloadpkgsrc-aa890d507ab9baf76bbbeab9af18fe3d95ddd642.tar.gz
Correct checking condition of PHP_CHECK_INSTALLED.
Diffstat (limited to 'lang/php')
-rw-r--r--lang/php/phpversion.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk
index 167b57317bc..a0373c109d3 100644
--- a/lang/php/phpversion.mk
+++ b/lang/php/phpversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: phpversion.mk,v 1.38 2013/07/29 16:38:12 taca Exp $
+# $NetBSD: phpversion.mk,v 1.39 2013/08/14 14:53:03 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
@@ -166,7 +166,7 @@ PKG_PHP_MAJOR_VERS:= 5
PHP_CHECK_INSTALLED?= Yes
# if installed PHP isn't compatible with required PHP, bail out
-.if !empty(PHP_CHECK_INSTALLED:M[nN][oO])
+.if empty(PHP_CHECK_INSTALLED:M[nN][oO])
.if defined(_PHP_INSTALLED) && !defined(_PHP_VERSION_${_PHP_VERSION}_INSTALLED)
PKG_SKIP_REASON+= "Package accepts ${PKG_PHP}, but different version is installed"
.endif