diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-02-20 04:25:58 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-02-20 04:25:58 +0800 |
commit | 8710c3cde8be6663a179cc479314a9293c593bdd (patch) | |
tree | 94026f73146e843c6c0f394691450877f8df811a /Mk | |
parent | 295504f4d2417e65da428e50da50718f9ffc4401 (diff) | |
download | freebsd-ports-gnome-8710c3cde8be6663a179cc479314a9293c593bdd.tar.gz freebsd-ports-gnome-8710c3cde8be6663a179cc479314a9293c593bdd.tar.zst freebsd-ports-gnome-8710c3cde8be6663a179cc479314a9293c593bdd.zip |
Add USE_PHP=memcached
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/php.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 82aaf16d8832..9d5294590f20 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -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}-memcache . 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 |