aboutsummaryrefslogtreecommitdiff
path: root/audio/spotify-tui
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-08 01:33:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-08 01:48:39 +0000
commit160188b23077090892302669fc086345cbf400b5 (patch)
tree0de4f639342276a840a44d5fc9d13ad7f988ece7 /audio/spotify-tui
parentdfbc45cbf00fe37dec9c0c2023e47efff9d2cf35 (diff)
downloadports-160188b23077090892302669fc086345cbf400b5.tar.gz
ports-160188b23077090892302669fc086345cbf400b5.zip
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
Diffstat (limited to 'audio/spotify-tui')
-rw-r--r--audio/spotify-tui/Makefile10
1 files 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 <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 and later
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spt