git: 764806de4a87 - main - lang/php80: Fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 17:47:14 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=764806de4a87c2828620aa96e8707b9dfbddadc5
commit 764806de4a87c2828620aa96e8707b9dfbddadc5
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 15:42:19 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 17:47:05 +0000
lang/php80: Fix build with openssl3
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
lang/php80/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lang/php80/Makefile b/lang/php80/Makefile
index cc38544573ab..dd9fe9f58d23 100644
--- a/lang/php80/Makefile
+++ b/lang/php80/Makefile
@@ -102,8 +102,7 @@ WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS
.include <bsd.port.options.mk>
.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
-IGNORE_SSL= base openssl30 openssl31
-IGNORE_SSL_REASON= Missing upstream support for OpenSSL 3.0.0 and later
+CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L"
.endif
.include <bsd.port.pre.mk>