Skip to content

Commit

Permalink
www/castor: Mark BROKEN_SSL for 14
Browse files Browse the repository at this point in the history
OpenSSL 3 has been merged into OSVERSION 1400092 so also mark BROKEN_SSL
for 14 and OSVERSION 1400092 onwards.

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 8, 2023
1 parent a494fa7 commit d5d2680
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions www/castor/Makefile
Expand Up @@ -13,8 +13,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= cargo desktop-file-utils gnome ssl
BROKEN_SSL= openssl30 openssl31
BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 library
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30

CARGO_CRATES= aho-corasick-0.7.13 \
Expand Down Expand Up @@ -129,6 +127,13 @@ PLIST_FILES= bin/castor \

SUB_FILES= pkg-message

.include <bsd.port.options.mk>

.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
BROKEN_SSL= base openssl30 openssl31
BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 library
.endif

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/castor
${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/castor
Expand Down

0 comments on commit d5d2680

Please sign in to comment.