summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-08-11 17:18:16 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-08-11 17:18:16 +0000
commit6a8169e819f2259698c2ef054464613383d71e8a (patch)
tree5a0295682d25cc3995c80a35c3557e51a4fd57fe /sysutils
parent- Update to 2011.08.10 (diff)
Fix build on 9.0-BETA1 PPC64, by allowing /lib/libgcc*
Reported by: geoffrey.levand at mail.ru PR: ports/159672
Notes
Notes: svn path=/head/; revision=279499
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/e2fsprogs/Makefile3
1 files changed, 2 insertions, 1 deletions
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