pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php-concrete5 www/php-concrete5: simplify conditio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/669ee1ef00c8
branches:  trunk
changeset: 771864:669ee1ef00c8
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Dec 29 06:19:20 2021 +0000

description:
www/php-concrete5: simplify condition for php-mcrypt dependency

Simplify condition for php-mcrypt dependency.

Note: current php-concrete5 support only php56, but newer version of
Concrete5 or ConcreteCMS support newer version of PHP.

diffstat:

 www/php-concrete5/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 857930233059 -r 669ee1ef00c8 www/php-concrete5/Makefile
--- a/www/php-concrete5/Makefile        Wed Dec 29 06:11:50 2021 +0000
+++ b/www/php-concrete5/Makefile        Wed Dec 29 06:19:20 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/12/04 20:45:48 nia Exp $
+# $NetBSD: Makefile,v 1.24 2021/12/29 06:19:20 taca Exp $
 #
 
 DISTNAME=      concrete5.7.5.13
@@ -35,7 +35,7 @@
 
 .include "../../lang/php/phpversion.mk"
 
-.if ${PKG_PHP_VERSION} == "56" || ${PKG_PHP_VERSION} == "70"
+.if ${PKG_PHP_VERSION} < 71
 DEPENDS+=      ${PHP_PKG_PREFIX}-mcrypt>=5.3.3:../../security/php-mcrypt
 .else
 DEPENDS+=      ${PHP_PKG_PREFIX}-pecl-mcrypt>=1.0.0:../../security/php-pecl-mcrypt



Home | Main Index | Thread Index | Old Index