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 --- devel/pecl-test_helpers/Makefile | 6 ++++-- devel/pecl-test_helpers/files/pkg-message.in | 15 +-------------- 2 files changed, 5 insertions(+), 16 deletions(-) (limited to 'devel/pecl-test_helpers') diff --git a/devel/pecl-test_helpers/Makefile b/devel/pecl-test_helpers/Makefile index d5c8b09c2898..3e767d82ca90 100644 --- a/devel/pecl-test_helpers/Makefile +++ b/devel/pecl-test_helpers/Makefile @@ -3,7 +3,7 @@ PORTNAME= test_helpers PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel pear MASTER_SITES= http://pear.phpunit.de/get/ PKGNAMEPREFIX= pecl- @@ -14,8 +14,10 @@ COMMENT= Extension to ease testing of PHP code LICENSE= BSD3CLAUSE CONFIGURE_ARGS= --enable-test-helpers -USES= php:ext tar:tgz +USES= php:zend tar:tgz SUB_FILES= pkg-message IGNORE_WITH_PHP= 70 +# This needs to be loaded *after* devel/php-xdebug +PHP_MOD_PRIO= 30 .include diff --git a/devel/pecl-test_helpers/files/pkg-message.in b/devel/pecl-test_helpers/files/pkg-message.in index 80b6eec9c8c2..c74134f9ea14 100644 --- a/devel/pecl-test_helpers/files/pkg-message.in +++ b/devel/pecl-test_helpers/files/pkg-message.in @@ -1,20 +1,7 @@ ***************************************************************************** The php extension 'test_helpers' has been installed successful. -Add a line containing - extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/test_helpers.so - -or - - zend_extension=%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/test_helpers.so - -If this extension is used in combination with other extensions, such as Xdebug, -which are also overloading the `ZEND_NEW` opcode you have to load it as -`zend_extension` after loading the conflicting extension. This can be done in -your `php.ini` like this: - - zend_extension=xdebug.so - zend_extension=test-helpers.so +It has been automatically activated. Please refer to `phpinfo()` to verify whether a conflict was detected and whether the work-around was enabled. -- cgit v1.2.3