aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 15:42:19 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 17:47:05 +0000
commit764806de4a87c2828620aa96e8707b9dfbddadc5 (patch)
treee22f08b44188e975c63dc87d94aa52d29b187df5
parenta5981f5909443e3e33874ba707ea205f6b0b6f6d (diff)
downloadports-764806de4a87c2828620aa96e8707b9dfbddadc5.tar.gz
ports-764806de4a87c2828620aa96e8707b9dfbddadc5.zip
lang/php80: Fix build with openssl3
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--lang/php80/Makefile3
1 files changed, 1 insertions, 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>