svn commit: r434414 - head/Mk/Uses
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Feb 19 20:25:59 UTC 2017
Author: sunpoet
Date: Sun Feb 19 20:25:58 2017
New Revision: 434414
URL: https://svnweb.freebsd.org/changeset/ports/434414
Log:
Add USE_PHP=memcached
Modified:
head/Mk/Uses/php.mk
Modified: head/Mk/Uses/php.mk
==============================================================================
--- head/Mk/Uses/php.mk Sun Feb 19 19:52:10 2017 (r434413)
+++ head/Mk/Uses/php.mk Sun Feb 19 20:25:58 2017 (r434414)
@@ -293,7 +293,7 @@ add-plist-phpext:
_USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \
enchant exif fileinfo filter ftp gd gettext gmp \
hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \
- memcache mysqli odbc opcache \
+ memcache memcached mysqli odbc opcache \
openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \
pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \
pspell radius readline recode redis session shmop simplexml snmp soap\
@@ -344,6 +344,11 @@ memcache_DEPENDS= databases/php${PHP_VER
. else
memcache_DEPENDS= databases/pecl-memcache
. endif
+. if ${PHP_VER} >= 70
+memcached_DEPENDS= databases/pecl-memcached
+. else
+memcached_DEPENDS= databases/pecl-memcached2
+. endif
mssql_DEPENDS= databases/php${PHP_VER}-mssql
mysql_DEPENDS= databases/php${PHP_VER}-mysql
mysqli_DEPENDS= databases/php${PHP_VER}-mysqli
More information about the svn-ports-head
mailing list