diff options
author | mm <mm@FreeBSD.org> | 2013-09-29 00:48:34 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2013-09-29 00:48:34 +0800 |
commit | 8f534bc601994e39ac5ed1dbc4b5ee9435014096 (patch) | |
tree | 9e383e38142fed2519da0e452fc72efe686c4e50 /Mk/bsd.php.mk | |
parent | c5eee851d62de1b89a084da77dc9d06aea1ae4bb (diff) | |
download | freebsd-ports-gnome-8f534bc601994e39ac5ed1dbc4b5ee9435014096.tar.gz freebsd-ports-gnome-8f534bc601994e39ac5ed1dbc4b5ee9435014096.tar.zst freebsd-ports-gnome-8f534bc601994e39ac5ed1dbc4b5ee9435014096.zip |
Add native opcache extension for php55.
Build pecl-zendopcache only for php 5.4 and older.
PR: ports/182112
Approved by: ale (private e-mail)
Diffstat (limited to 'Mk/bsd.php.mk')
-rw-r--r-- | Mk/bsd.php.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk index 4f57094e895f..47ad6210950b 100644 --- a/Mk/bsd.php.mk +++ b/Mk/bsd.php.mk @@ -261,7 +261,7 @@ php-ini: _USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \ exif fileinfo filter ftp gd gettext gmp \ hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \ - memcache mssql mysql mysqli odbc \ + memcache mssql mysql mysqli odbc opcache \ openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \ pdo_odbc pdo_pgsql pdo_sqlite pgsql posix \ pspell radius readline recode session shmop simplexml snmp soap\ @@ -312,6 +312,11 @@ mysqli_DEPENDS= databases/php${PHP_VER}-mysqli ncurses_DEPENDS=devel/php${PHP_VER}-ncurses odbc_DEPENDS= databases/php${PHP_VER}-odbc oci8_DEPENDS= databases/php${PHP_VER}-oci8 +.if ${PHP_VER} == 55 +opcache_DEPENDS= www/php${PHP_VER}-opcache +.else +opcache_DEPENDS= www/pecl-zendopcache +.endif openssl_DEPENDS=security/php${PHP_VER}-openssl pcntl_DEPENDS= devel/php${PHP_VER}-pcntl pcre_DEPENDS= devel/php${PHP_VER}-pcre |