git: a61c8dec3aae - 2025Q4 - lang/php84: Update version 8.4.15=>8.4.16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 20 Dec 2025 09:05:51 UTC
The branch 2025Q4 has been updated by bofh:

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

commit a61c8dec3aae562fc05b59da8d8f19ba8e82a0d2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-12-20 08:55:32 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-12-20 09:03:17 +0000

    lang/php84: Update version 8.4.15=>8.4.16
    
    Changelog: https://www.php.net/ChangeLog-8.php#8.4.16
    
    MFH:            2025Q4
    (cherry picked from commit f2f30cfc151f4df1098b87f36319e5e31c10f7fb)
---
 lang/php84/Makefile | 17 +++++++++++------
 lang/php84/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/lang/php84/Makefile b/lang/php84/Makefile
index fb750a43e876..52be4c71184e 100644
--- a/lang/php84/Makefile
+++ b/lang/php84/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	php84
-DISTVERSION=	8.4.15
+DISTVERSION=	8.4.16
 PORTREVISION?=	0
 CATEGORIES?=	lang devel www
 MASTER_SITES=	PHP/distributions
@@ -18,8 +18,7 @@ PHP_VER=	84
 CONFLICTS_INSTALL?=	php[0-9][0-9]${PKGNAMESUFFIX}
 
 .if !defined(PKGNAMESUFFIX)
-LIB_DEPENDS=	libargon2.so:security/libargon2 \
-		libpcre2-8.so:devel/pcre2
+LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	\
@@ -28,8 +27,7 @@ CONFIGURE_ARGS+=	\
 		--with-config-file-scan-dir=${PREFIX}/etc/php \
 		--with-layout=GNU \
 		--with-libxml \
-		--with-openssl \
-		--with-password-argon2=${LOCALBASE}
+		--with-openssl
 
 USES+=		autoreconf:build ssl
 USE_GNOME=	libxml2
@@ -79,8 +77,8 @@ FPM_VARS=		PHP_SAPI+=fpm \
 			USE_RC_SUBR+=php_fpm
 IPV6_CONFIGURE_OFF=	--disable-ipv6
 LINKTHR_LIBS=		-lpthread
-NOASLR_USES=	elfctl
 MYSQLND_CONFIGURE_ON=	--enable-mysqlnd
+NOASLR_USES=	elfctl
 PCRE_BUILD_DEPENDS=	re2c>0:devel/re2c
 PCRE_CONFIGURE_ON=	--with-external-pcre=${LOCALBASE}
 PCRE_PLIST_SUB=	BUNDLED_PCRE="@comment "
@@ -135,6 +133,13 @@ PLIST_SUB+=	SAPI_INC=""
 PLIST_SUB+=	SAPI_INC="@comment "
 .  endif
 
+.  if (${OSVERSION} >= 1500000 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT:Mopenssl*} && ${OPENSSL_SHLIBVER} >= 15)
+CONFIGURE_ARGS+=	--with-openssl-argon2
+.  else
+LIB_DEPENDS+=		libargon2.so:security/libargon2
+CONFIGURE_ARGS+=	--with-password-argon2=${LOCALBASE}
+.  endif
+
 CONFIGURE_ENV+=	ac_cv_decimal_fp_supported="no" \
 		lt_cv_path_SED="sed" \
 		OPENSSL_CFLAGS="-I${OPENSSLINC}" \
diff --git a/lang/php84/distinfo b/lang/php84/distinfo
index 8a7cefbd1503..703f469c962c 100644
--- a/lang/php84/distinfo
+++ b/lang/php84/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1763635407
-SHA256 (php-8.4.15.tar.xz) = a060684f614b8344f9b34c334b6ba8db1177555997edb5b1aceab0a4b807da7e
-SIZE (php-8.4.15.tar.xz) = 13652564
+TIMESTAMP = 1765959694
+SHA256 (php-8.4.16.tar.xz) = f66f8f48db34e9e29f7bfd6901178e9cf4a1b163e6e497716dfcb8f88bcfae30
+SIZE (php-8.4.16.tar.xz) = 13660836