summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-08-03 12:47:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-08-03 12:47:05 +0000
commitaef5a666706db2a5b97c1cc3d1fcc2ca05b22fcb (patch)
tree0ef0e6e265bc625030daf067c3dd5dc211eab79b /lang
parentAdd a PKGMESSAGES variable that allows the framework to have more than (diff)
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
Diffstat (limited to 'lang')
-rw-r--r--lang/pecl-perl/Makefile1
-rw-r--r--lang/php55/Makefile2
-rw-r--r--lang/php55/Makefile.ext2
-rw-r--r--lang/php56/Makefile2
-rw-r--r--lang/php56/Makefile.ext2
-rw-r--r--lang/php70/Makefile1
-rw-r--r--lang/php70/Makefile.ext2
7 files changed, 10 insertions, 2 deletions
diff --git a/lang/pecl-perl/Makefile b/lang/pecl-perl/Makefile
index aadb93c29853..4900f937f633 100644
--- a/lang/pecl-perl/Makefile
+++ b/lang/pecl-perl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= perl
DISTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= lang perl5
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
diff --git a/lang/php55/Makefile b/lang/php55/Makefile
index 442629b1f5f6..483a87bc2428 100644
--- a/lang/php55/Makefile
+++ b/lang/php55/Makefile
@@ -3,7 +3,7 @@
PORTNAME= php55
PORTVERSION= 5.5.38
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
diff --git a/lang/php55/Makefile.ext b/lang/php55/Makefile.ext
index 94d9d683c75a..8c7a1f9870be 100644
--- a/lang/php55/Makefile.ext
+++ b/lang/php55/Makefile.ext
@@ -217,6 +217,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
.endif
diff --git a/lang/php56/Makefile b/lang/php56/Makefile
index f8417f3f11e4..530fe94ca82f 100644
--- a/lang/php56/Makefile
+++ b/lang/php56/Makefile
@@ -3,7 +3,7 @@
PORTNAME= php56
PORTVERSION= 5.6.24
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
diff --git a/lang/php56/Makefile.ext b/lang/php56/Makefile.ext
index 9a7942269e45..71c196bd0502 100644
--- a/lang/php56/Makefile.ext
+++ b/lang/php56/Makefile.ext
@@ -217,6 +217,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
.endif
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