From 8d24fb59393a00d6836ce41326cd07473a43ae47 Mon Sep 17 00:00:00 2001 From: mandree Date: Thu, 11 Aug 2011 17:18:16 +0000 Subject: Fix build on 9.0-BETA1 PPC64, by allowing /lib/libgcc* Reported by: geoffrey.levand at mail.ru PR: ports/159672 --- sysutils/e2fsprogs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysutils/e2fsprogs') diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile index f3bcada2b3a9..f7fb48d5bc31 100644 --- a/sysutils/e2fsprogs/Makefile +++ b/sysutils/e2fsprogs/Makefile @@ -77,11 +77,12 @@ post-build: LIBINTL=${libintl} # Regression check: avoid a port (not upstream!) regression from 1.40.5, # check that e2fsck isn't dynalinked against anything but libc.so: - @${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects beyond libc.so: " + @${ECHO_CMD} -n "===> checking that e2fsck depends on no shared objects beyond libc and libgcc: " @a="$$(ldd ${WRKSRC}/e2fsck/e2fsck 2>/dev/null \ | ${GREP} -v 'not a dynamic executable' \ | ${GREP} '=>' \ | ${AWK} '{print $$3;}' \ + | ${EGREP} -v '^/lib/libgcc(_s)?\.so\.' \ | ${GREP} -v '^/lib/libc\.so\.' || :)"; \ if test "x$$a" = "x" ; then echo 'PASS' ; else \ echo 'FAIL' ; echo '===> e2fsck depends on:' ; echo "$$a" ; exit 1 ; fi -- cgit