git: 6a35e5955feb - 2024Q2 - lang/php8*: Remove stale NOOP codes

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 11:49:46 UTC
The branch 2024Q2 has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a35e5955febec016fa521f90e1dca83233644cf

commit 6a35e5955febec016fa521f90e1dca83233644cf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-05-02 22:29:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-06-10 11:49:19 +0000

    lang/php8*: Remove stale NOOP codes
    
    json module is by default built into php and these module configs were
    stale.
    
    (cherry picked from commit 1d1273b22cfd4f5f044f93faa3be4d2982d0d255)
---
 lang/php81/Makefile | 5 -----
 lang/php82/Makefile | 5 -----
 lang/php83/Makefile | 5 -----
 3 files changed, 15 deletions(-)

diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 3e84b20992aa..4fc722c97c01 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -357,11 +357,6 @@ USES+=		pkgconfig
 CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
 .endif
 
-.if ${PHP_MODNAME} == "json"
-CONFIGURE_ARGS+=	--enable-json
-BUILD_DEPENDS=		re2c:devel/re2c
-.endif
-
 .if ${PHP_MODNAME} == "ldap"
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE}
 USES+=	ldap
diff --git a/lang/php82/Makefile b/lang/php82/Makefile
index 15d7041e8ac7..1cdb8385392e 100644
--- a/lang/php82/Makefile
+++ b/lang/php82/Makefile
@@ -354,11 +354,6 @@ USES+=		pkgconfig
 CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
 .endif
 
-.if ${PHP_MODNAME} == "json"
-CONFIGURE_ARGS+=	--enable-json
-BUILD_DEPENDS=		re2c:devel/re2c
-.endif
-
 .if ${PHP_MODNAME} == "ldap"
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE}
 USES+=	ldap
diff --git a/lang/php83/Makefile b/lang/php83/Makefile
index e653aac29e4f..cc6d68e1bce2 100644
--- a/lang/php83/Makefile
+++ b/lang/php83/Makefile
@@ -372,11 +372,6 @@ USES+=		pkgconfig
 CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
 .endif
 
-.if ${PHP_MODNAME} == "json"
-CONFIGURE_ARGS+=	--enable-json
-BUILD_DEPENDS=		re2c:devel/re2c
-.endif
-
 .if ${PHP_MODNAME} == "ldap"
 LIB_DEPENDS+=libsasl2.so:security/cyrus-sasl2
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE}