Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2022 09:23:01 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        freebsd-ports@freebsd.org, "brnrd@freebsd.org" <brnrd@FreeBSD.org>
Subject:   net/endlessh/Makefile needs ${STRIP_CMD} instead of ${STRIP} or poudriere builder involved can hang during post-install ( running ${STAGEDIR}${PREFIX}/bin/endlessh )
Message-ID:  <15105A27-9A88-4A11-86DD-F830D5A90522@yahoo.com>
References:  <15105A27-9A88-4A11-86DD-F830D5A90522.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15105A27-9A88-4A11-86DD-F830D5A90522>