summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2015-12-06 12:13:12 +0000
committertaca <taca@pkgsrc.org>2015-12-06 12:13:12 +0000
commit101efbe7e88e77538cf568d816d25038d2e02244 (patch)
tree6f520af076bc276061834128125ed219ffde8956 /time
parent00f547df772d74942a0ee8eb93126a400c570f13 (diff)
downloadpkgsrc-101efbe7e88e77538cf568d816d25038d2e02244.tar.gz
Explicitly restrict PHP_VERSIONS_ACCEPTED to 55 and 56 for packages which
use php-mysql package.
Diffstat (limited to 'time')
-rw-r--r--time/kronolith/Makefile4
-rw-r--r--time/php-mrbs/options.mk3
2 files changed, 5 insertions, 2 deletions
diff --git a/time/kronolith/Makefile b/time/kronolith/Makefile
index 3d064eef92f..eea89cb9fa1 100644
--- a/time/kronolith/Makefile
+++ b/time/kronolith/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2013/08/07 19:19:58 bouyer Exp $
+# $NetBSD: Makefile,v 1.23 2015/12/06 12:13:12 taca Exp $
DISTNAME= kronolith-h3-${KRONOLITHVER}
PKGNAME= kronolith-${KRONOLITHVER}
@@ -16,6 +16,8 @@ DEPENDS+= horde>=3.2:../../www/horde
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Date-[0-9]*:../../time/pear-Date
+PHP_VERSIONS_ACCEPTED= 55 56
+
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
diff --git a/time/php-mrbs/options.mk b/time/php-mrbs/options.mk
index 4b163074610..f23a46a5569 100644
--- a/time/php-mrbs/options.mk
+++ b/time/php-mrbs/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2015/01/31 12:23:14 bouyer Exp $
+# $NetBSD: options.mk,v 1.2 2015/12/06 12:13:12 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.php-mrbs
@@ -14,6 +14,7 @@ PKG_SUGGESTED_OPTIONS= mysql
###
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
+PHP_VERSIONS_ACCEPTED= 55 56
.elif !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
.else