Re: net/endlessh/Makefile needs ${STRIP_CMD} instead of ${STRIP} or poudriere builder involved can hang during post-install ( running ${STAGEDIR}${PREFIX}/bin/endlessh )

From: Robert Clausecker <fuz_at_fuz.su>
Date: Thu, 16 Jun 2022 17:25:56 UTC
Hi Mark,

I've already filed a PR about this (PR #264711).

Yours,
Robert Clausecker

Am Thu, Jun 16, 2022 at 09:23:01AM -0700 schrieb Mark Millard:
> My experimental "poudriere bulk -a -c" had its net/endlessh
> build hang up because it ran ${STAGEDIR}${PREFIX}/bin/endlessh
> during staging's post-install target, ${STRIP} was empty.
> 
> In other words, something like the below is needed:
> (some whitespace details might not survive email and such)
> 
> # git -C /usr/ports diff /usr/ports/net/endlessh
> diff --git a/net/endlessh/Makefile b/net/endlessh/Makefile
> index b21b47922c58..54968d94850e 100644
> --- a/net/endlessh/Makefile
> +++ b/net/endlessh/Makefile
> @@ -29,6 +29,6 @@ post-patch:
>  post-install:
>         ${INSTALL_DATA} ${FILESDIR}/endlessh.newsyslog.conf \
>                 ${FILESDIR}/endlessh.conf.sample ${STAGEDIR}${PREFIX}/etc/
> -       ${STRIP} ${STAGEDIR}${PREFIX}/bin/endlessh
> +       ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/endlessh
>  
>  .include <bsd.port.mk>
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> 
> 

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments