diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-03 12:47:05 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-08-03 12:47:05 +0000 |
commit | aef5a666706db2a5b97c1cc3d1fcc2ca05b22fcb (patch) | |
tree | 0ef0e6e265bc625030daf067c3dd5dc211eab79b /lang/php56 | |
parent | Add 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
Notes
Notes:
svn path=/head/; revision=419514
Diffstat (limited to 'lang/php56')
-rw-r--r-- | lang/php56/Makefile | 2 | ||||
-rw-r--r-- | lang/php56/Makefile.ext | 2 |
2 files changed, 3 insertions, 1 deletions
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 |