Skip to content

Commit

Permalink
security/rubygem-openssl2: Fix build with openssl3
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 26, 2023
1 parent 764806d commit 08249b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions security/rubygem-openssl2/Makefile
Expand Up @@ -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>

0 comments on commit 08249b9

Please sign in to comment.