aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-07-08 18:00:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2026-07-08 20:29:56 +0000
commit1175e000303d7a5fdc30d013b82dd3d62b1f2a63 (patch)
treedfee67f75cbddbfe32101e3389be94b5b0e9f4d5
parent3f5ab56aeb6c9d753911b6f4c2c65560a0b3118e (diff)
Mk/Uses/php.mk: Add DEV_WARNING for USES=php:pecl
- php has declared pecl infrastructure as deprecated in lieu of pie - Considering this add a warning for DEV to convert these packages to standard extensions - Most of the pecl ports have an upstream src repo in a version control system - Move the port with a prefix name php-, update the MASTER_SITES and use USES=php:ext - Update the reverse dependencies - If you are a non-committer feel free to reach out for necessary assistance
-rw-r--r--Mk/Uses/php.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index 9225d11a8b50..0e79d8606a16 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -88,6 +88,9 @@ DEV_WARNING+= "USES=php:ext is included in USES=php:zend, so it is not needed"
. if ${php_ARGS:Mext} && ${php_ARGS:Mpecl}
DEV_WARNING+= "USES=php:ext is included in USES=php:pecl, so it is not needed"
. endif
+. if ${php_ARGS:Mpecl}
+DEV_WARNING+= "USES=php:pecl is deprecated and necessary support will be removed in the future, consider converting pecl packages to standard extensions"
+. endif
. if ( ${php_ARGS:Mphpize} || ${php_ARGS:Mext} || ${php_ARGS:Mzend} || ${php_ARGS:Mpecl} ) && !${php_ARGS:Mnoflavors}
php_ARGS+= flavors