Use USE_PHP=memcached instead of hard-coded databases/pecl-memcached

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-02-19 20:26:02 +00:00
parent 05b4ac5a2e
commit 4866f91cc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434415

View file

@ -52,8 +52,7 @@ USE_PHP+= bcmath bitset json posix
.endif
.if ${PORT_OPTIONS:MMEMCACHE}
USE_PHP+= memcache
RUN_DEPENDS+= pecl-memcached>=0:databases/pecl-memcached
USE_PHP+= memcache memcached
.endif
.if ${PORT_OPTIONS:MMYSQL}