diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-05-20 09:19:39 +0100 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-05-20 09:26:30 +0100 |
commit | fd9d600305e5138654fe44e166b6fd31174a7847 (patch) | |
tree | 3f03d859dd8a8ee6e70e335a3434e7b291fc47f8 /audio | |
parent | net/bredbandskollen: Fix tests (diff) |
audio/cmus: Fix build when Input and Output plugin options are empty
Use find to strip .so if exist, i.e., if Input or Output plugins options
where selected.
This fixes post-install when no plugins are selected.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmus/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index 519bd70a8486..2e92285cd7e4 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -150,7 +150,8 @@ post-configure: post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cmus* - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/cmus/[io]p/*.so + @${FIND} ${STAGEDIR}${PREFIX}/lib -path '${STAGEDIR}${PREFIX}/lib/cmus/*' \ + -name '*.so*' -exec ${STRIP_CMD} {} + # Install bash and zsh completion files ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/contrib/cmus.bash-completion \ |