From: fuzzyray Date: Tue, 7 Aug 2007 01:34:10 +0000 (-0000) Subject: Add patch for FreeBSD from lavajoe (Bug #183657) X-Git-Tag: gentoolkit-0.2.4.3~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f3b378418b775a8ad3b43b7d7baff82435194f0;p=gentoolkit.git Add patch for FreeBSD from lavajoe (Bug #183657) svn path=/; revision=430 --- diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index 63de189..ac3feae 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -547,7 +547,7 @@ main_checks() { ) REQUIRED_LIBS=$( expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; - objdump -x "$target_file" | sed "$expr" | sort -u + objdump -x "$target_file" | grep NEEDED | sed "$expr" | sort -u ) MISSING_LIBS=$(grep -F "$REQUIRED_LIBS" <<< "$MISSING_LIBS") if [[ $MISSING_LIBS ]]; then @@ -564,7 +564,7 @@ main_checks() { ) REQUIRED_LIBS=$( expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; - objdump -x "$target_file" | sed "$expr" | sort -u + objdump -x "$target_file" | grep NEEDED | sed "$expr" | sort -u ) MISSING_LIBS=$(grep -F "$REQUIRED_LIBS" <<< "$MISSING_LIBS") if [[ $MISSING_LIBS ]]; then