summaryrefslogtreecommitdiff
path: root/devel/pecl-test_helpers
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pecl-test_helpers')
-rw-r--r--devel/pecl-test_helpers/Makefile6
-rw-r--r--devel/pecl-test_helpers/files/pkg-message.in15
2 files changed, 5 insertions, 16 deletions
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 <bsd.port.mk>
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.