git: 0befb0f7e746 - main - net/endlessh: fix wrong use of STRIP

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Mon, 20 Jun 2022 11:50:10 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0befb0f7e74637d9152aa286e4c18188cc5344ae

commit 0befb0f7e74637d9152aa286e4c18188cc5344ae
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-06-20 11:43:43 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-06-20 11:43:43 +0000

    net/endlessh: fix wrong use of STRIP
    
     * STRIP_CMD was meant instead of STRIP, causing the
       build to hang when building unstripped packages.
    
    PR:             264711
    Submitted by:   Robert Clausecker <fuz fuz su>
---
 net/endlessh/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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>