Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 19:59:31 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4fec4429208a - main - lang/php80: Mark IGNORE_SSL for base
Message-ID:  <202306031959.353JxVKf000327@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 4fec4429208ad765eeb85fdab532a4b0be7b5fb4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 18:36:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 19:59:23 +0000

    lang/php80: Mark IGNORE_SSL for base
    
    Considering that OpenSSL 3.0.9 will be merged at OSVERSION 1400089 mark
    IGNORE_SSL for base ssl version. In case this happens later we will fix
    the OSVERSION.
    
    PR:             271656
    Sponsored by:   Bounce Experts
---
 lang/php80/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lang/php80/Makefile b/lang/php80/Makefile
index e20a3bcbd230..5c51d25e8181 100644
--- a/lang/php80/Makefile
+++ b/lang/php80/Makefile
@@ -35,8 +35,6 @@ CONFIGURE_ARGS+=	\
 		--with-password-argon2=${LOCALBASE}
 
 USES+=		autoreconf:build localbase ssl
-IGNORE_SSL=	openssl30 openssl31
-IGNORE_SSL_REASON=	Missing upstream support for openssl30 and later
 USE_GNOME=	libxml2
 
 LDFLAGS=	-L${OPENSSLLIB} -lcrypto -lssl
@@ -101,6 +99,13 @@ SHORTMODNAME=	php
 WARNING=	"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
 .endif
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400089 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+IGNORE_SSL=	base openssl30 openssl31
+IGNORE_SSL_REASON=	Missing upstream support for OpenSSL 3.0.0 and later
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == riscv64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031959.353JxVKf000327>