From aef5a666706db2a5b97c1cc3d1fcc2ca05b22fcb Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 3 Aug 2016 12:47:05 +0000 Subject: 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 --- lang/php55/Makefile | 2 +- lang/php55/Makefile.ext | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/php55') 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 -- cgit v1.2.3