summaryrefslogtreecommitdiff
path: root/lang/php70
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php70')
-rw-r--r--lang/php70/Makefile1
-rw-r--r--lang/php70/Makefile.ext2
2 files changed, 3 insertions, 0 deletions
diff --git a/lang/php70/Makefile b/lang/php70/Makefile
index f05a6c44220b..bff5436219fa 100644
--- a/lang/php70/Makefile
+++ b/lang/php70/Makefile
@@ -3,6 +3,7 @@
PORTNAME= php70
PORTVERSION= 7.0.9
+PORTREVISION?= 2
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
diff --git a/lang/php70/Makefile.ext b/lang/php70/Makefile.ext
index aa3d3c58977b..42f34ec282a3 100644
--- a/lang/php70/Makefile.ext
+++ b/lang/php70/Makefile.ext
@@ -209,6 +209,8 @@ USE_OPENSSL= yes
.endif
.if ${PHP_MODNAME} == "opcache"
+# This is needed by Zend extensions, keep before everything.
+PHP_MOD_PRIO= 10
CONFIGURE_ARGS+=--enable-opcache
USES+= localbase
.endif