git: d207001c07e8 - main - ports-mgmt/sccache-overlay: Unbreak on CURRENT

From: Tobias Kortkamp <tobik_at_FreeBSD.org>
Date: Fri, 15 Apr 2022 08:36:47 UTC
The branch main has been updated by tobik:

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

commit d207001c07e8cce689de468cb63204c4ef13d13b
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2022-04-14 11:49:52 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2022-04-15 08:34:22 +0000

    ports-mgmt/sccache-overlay: Unbreak on CURRENT
    
    ldd -f '%p\n' .../sccache | /usr/bin/xargs -J% install  -s -m 0644 % ...
    install: [preloaded]: No such file or directory
    
    http://beefy17.nyi.freebsd.org/data/main-i386-default/p152bbb33232b_sbf13db086b/logs/sccache-overlay-0.2.15_6.log
---
 ports-mgmt/sccache-overlay/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ports-mgmt/sccache-overlay/Makefile b/ports-mgmt/sccache-overlay/Makefile
index 2691338bacc1..3d943af12f66 100644
--- a/ports-mgmt/sccache-overlay/Makefile
+++ b/ports-mgmt/sccache-overlay/Makefile
@@ -417,7 +417,7 @@ post-install:
 	${INSTALL_PROGRAM} /libexec/ld-elf.so.1 \
 		${STAGEDIR}${DATADIR}/overlay/lib
 	@${LN} -Fs ${STAGEDIR}${DATADIR}/overlay/lib /tmp/sccache-overlay
-	ldd -f '%p\n' ${STAGEDIR}${DATADIR}/overlay/bin/sccache | \
+	ldd -f '%p\n' ${STAGEDIR}${DATADIR}/overlay/bin/sccache | ${GREP} -v '^[ 	]*\[' | \
 		${XARGS} -J% ${INSTALL_LIB} % ${STAGEDIR}${DATADIR}/overlay/lib
 	cd ${STAGEDIR}${PREFIX}; \
 		${FIND} ${DATADIR_REL} -type f >>${TMPPLIST}