git: e6921c890f10 - 2026Q3 - Mk/Uses/php.mk: Add DEV_WARNING for USES=php:pecl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 22:06:51 UTC
The branch 2026Q3 has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e6921c890f106b2d3c76e631833a88e5df1757b9
commit e6921c890f106b2d3c76e631833a88e5df1757b9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-07-08 18:00:22 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-08 22:06:30 +0000
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
(cherry picked from commit 1175e000303d7a5fdc30d013b82dd3d62b1f2a63)
---
Mk/Uses/php.mk | 3 +++
1 file changed, 3 insertions(+)
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