From: Fabian Groffen Date: Fri, 1 Feb 2008 21:42:05 +0000 (-0000) Subject: Save full paths for needed objects on Darwin, and store prefixed path as well X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4b8cbea23bcf1cfb5d363568a7a8ccc30ab312ed;p=portage.git Save full paths for needed objects on Darwin, and store prefixed path as well svn path=/main/branches/prefix/; revision=9270 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index c775722d0..2f4f6e426 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -364,12 +364,10 @@ install_qa_check() { touch "${T}"/.install_name_check_failed fi fi - # scanelf only knows the libname, so we'll do the same even - # though we have the full path :( - needed="${needed}${needed:+,}${r##*/}" + needed=${needed}${needed:+,}${r} done [[ -n ${needed} ]] && \ - echo "/${f#${ED}} ${needed}" > "${PORTAGE_BUILDDIR}"/build-info/NEEDED + echo "/${f#${D}} ${needed}" >> "${PORTAGE_BUILDDIR}"/build-info/NEEDED done if [[ -f ${T}/.install_name_check_failed ]] ; then # secret switch "allow_broken_install_names" to get