Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 143498 | Differences between
and this patch

Collapse All | Expand All

(-)revdep-rebuild (-2 / +2 lines)
Lines 733-742 Link Here
733
				ldd_status=$? # TODO: Check this for problems with sort
733
				ldd_status=$? # TODO: Check this for problems with sort
734
				# HACK: if LD_LIBRARY_MASK is null or undefined grep -vF doesn't work
734
				# HACK: if LD_LIBRARY_MASK is null or undefined grep -vF doesn't work
735
				if grep -vF "${LD_LIBRARY_MASK:=$'\a'}" <<< "$ldd_output" |
735
				if grep -vF "${LD_LIBRARY_MASK:=$'\a'}" <<< "$ldd_output" |
736
					grep -q "$SONAME_SEARCH"; then
736
					grep -q -E "$SONAME_SEARCH"; then
737
					if [[ $SEARCH_BROKEN && $FULL_LD_PATH ]]; then
737
					if [[ $SEARCH_BROKEN && $FULL_LD_PATH ]]; then
738
						if LD_LIBRARY_PATH="$COMPLETE_LD_LIBRARY_PATH" ldd "$target_file" 2>/dev/null |
738
						if LD_LIBRARY_PATH="$COMPLETE_LD_LIBRARY_PATH" ldd "$target_file" 2>/dev/null |
739
							grep -vF "$LD_LIBRARY_MASK" | grep -q "$SONAME_SEARCH"; then
739
							grep -vF "$LD_LIBRARY_MASK" | grep -q -E "$SONAME_SEARCH"; then
740
							# FIXME: I hate duplicating code
740
							# FIXME: I hate duplicating code
741
							# Only build missing direct dependencies
741
							# Only build missing direct dependencies
742
							MISSING_LIBS=$(
742
							MISSING_LIBS=$(

Return to bug 143498