From 160188b23077090892302669fc086345cbf400b5 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 8 Aug 2023 03:33:22 +0200 Subject: [PATCH] audio/spotify-tui: Mark BROKEN_SSL for 14 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 --- audio/spotify-tui/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/audio/spotify-tui/Makefile b/audio/spotify-tui/Makefile index 52e7eaff22c8..1ae099359b15 100644 --- a/audio/spotify-tui/Makefile +++ b/audio/spotify-tui/Makefile @@ -11,9 +11,6 @@ WWW= https://github.com/Rigellute/spotify-tui LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_SSL= openssl30 openssl31 -BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 and later - USES= cargo localbase:ldflags python:build ssl xorg USE_GITHUB= yes GH_ACCOUNT= Rigellute @@ -291,6 +288,13 @@ SPOTIFYD_DESC= Lightweight Spotify client daemon SPOTIFYD_RUN_DEPENDS= spotifyd:audio/spotifyd +.include + +.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 and later +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spt