git: fd9d600305e5 - main - audio/cmus: Fix build when Input and Output plugin options are empty
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 May 2024 08:26:48 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd9d600305e5138654fe44e166b6fd31174a7847 commit fd9d600305e5138654fe44e166b6fd31174a7847 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-05-20 08:19:39 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-05-20 08:26:30 +0000 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. --- audio/cmus/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \