aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2011-08-12 01:18:16 +0800
committermandree <mandree@FreeBSD.org>2011-08-12 01:18:16 +0800
commit8d24fb59393a00d6836ce41326cd07473a43ae47 (patch)
tree44e74374bcf2fb60bc9281b5a34557c5921c0b45 /sysutils
parentc4dfcbfa26fe199a78e6544e92382f15117589fe (diff)
downloadfreebsd-ports-gnome-8d24fb59393a00d6836ce41326cd07473a43ae47.tar.gz
freebsd-ports-gnome-8d24fb59393a00d6836ce41326cd07473a43ae47.tar.zst
freebsd-ports-gnome-8d24fb59393a00d6836ce41326cd07473a43ae47.zip
Fix build on 9.0-BETA1 PPC64, by allowing /lib/libgcc*
Reported by: geoffrey.levand at mail.ru PR: ports/159672
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