git: 08249b9f9bb3 - main - security/rubygem-openssl2: Fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 17:47:15 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=08249b9f9bb312969e0fb526e01b1befc1360afb commit 08249b9f9bb312969e0fb526e01b1befc1360afb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-26 15:52:33 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-26 17:47:05 +0000 security/rubygem-openssl2: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/rubygem-openssl2/Makefile | 5 +++-- 1 file 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>