summaryrefslogtreecommitdiff
path: root/lang/php55
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2013-09-28 16:48:34 +0000
committerMartin Matuska <mm@FreeBSD.org>2013-09-28 16:48:34 +0000
commit03ad7ca7444943eae504fef8b3e074b8accfd38e (patch)
tree9e383e38142fed2519da0e452fc72efe686c4e50 /lang/php55
parentSupport staging. (diff)
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 'lang/php55')
-rw-r--r--lang/php55/Makefile.ext4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/php55/Makefile.ext b/lang/php55/Makefile.ext
index 63a7189acf12..32242749d57a 100644
--- a/lang/php55/Makefile.ext
+++ b/lang/php55/Makefile.ext
@@ -220,6 +220,10 @@ LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
+.if ${PHP_MODNAME} == "opcache"
+CONFIGURE_ARGS+=--enable-opcache
+.endif
+
.if ${PHP_MODNAME} == "pcntl"
CONFIGURE_ARGS+=--enable-pcntl
.endif