git: 1b9f49ae1c12 - main - lang/php85: Fix build with ZTS

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 28 Dec 2025 11:53:13 UTC
The branch main has been updated by bofh:

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

commit 1b9f49ae1c12ce9f11abcdf8eff8220501eae213
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-12-28 11:52:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-12-28 11:52:00 +0000

    lang/php85: Fix build with ZTS
---
 lang/php85/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/php85/Makefile b/lang/php85/Makefile
index a1ab876f2788..39fc7a3316b6 100644
--- a/lang/php85/Makefile
+++ b/lang/php85/Makefile
@@ -134,7 +134,7 @@ PLIST_SUB+=	SAPI_INC=""
 PLIST_SUB+=	SAPI_INC="@comment "
 .  endif
 
-.  if (${OSVERSION} >= 1500000 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT:Mopenssl*} && ${OPENSSL_SHLIBVER} >= 15)
+.  if (${OSVERSION} >= 1500000 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT:Mopenssl*} && ${OPENSSL_SHLIBVER} >= 15) && empty(PORT_OPTIONS:MZTS)
 CONFIGURE_ARGS+=	--with-openssl-argon2
 .  else
 LIB_DEPENDS+=		libargon2.so:security/libargon2