aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 15:52:33 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 17:47:05 +0000
commit08249b9f9bb312969e0fb526e01b1befc1360afb (patch)
treee01c9934193816f6132afc09ca1d0f1279ae1fc0
parent764806de4a87c2828620aa96e8707b9dfbddadc5 (diff)
downloadports-08249b9f9bb312969e0fb526e01b1befc1360afb.tar.gz
ports-08249b9f9bb312969e0fb526e01b1befc1360afb.zip
security/rubygem-openssl2: Fix build with openssl3
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--security/rubygem-openssl2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/rubygem-openssl2/Makefile b/security/rubygem-openssl2/Makefile
index bec193948740..00ce11d0e8f5 100644
--- a/security/rubygem-openssl2/Makefile
+++ b/security/rubygem-openssl2/Makefile
@@ -24,8 +24,9 @@ PORTSCOUT= limit:^2\.
.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 in this version
+CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L
+#IGNORE_SSL= base openssl30 openssl31
+#IGNORE_SSL_REASON= Missing upstream support for OpenSSL 3.0.0 and later in this version
.endif
.include <bsd.port.mk>