Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2018 06:40:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458602 - head/Mk/Uses
Message-ID:  <201801100640.w0A6ePgZ042861@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jan 10 06:40:25 2018
New Revision: 458602
URL: https://svnweb.freebsd.org/changeset/ports/458602

Log:
  Add USE_PHP=mcrypt for PHP 7.2

Modified:
  head/Mk/Uses/php.mk

Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk	Wed Jan 10 06:40:20 2018	(r458601)
+++ head/Mk/Uses/php.mk	Wed Jan 10 06:40:25 2018	(r458602)
@@ -340,7 +340,11 @@ intl_DEPENDS=	devel/pecl-intl
 json_DEPENDS=	devel/php${PHP_VER}-json
 ldap_DEPENDS=	net/php${PHP_VER}-ldap
 mbstring_DEPENDS=	converters/php${PHP_VER}-mbstring
+.    if ${PHP_VER} >= 72
+mcrypt_DEPENDS=	security/pecl-mcrypt
+.    else
 mcrypt_DEPENDS=	security/php${PHP_VER}-mcrypt
+.    endif
 .    if ${PHP_VER} >= 70
 memcache_DEPENDS=	databases/php${PHP_VER}-memcache
 .    else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801100640.w0A6ePgZ042861>