--- portage-prefix-2.1.14/bin/misc-functions.sh.orig 2006-07-24 11:39:56.000000000 +0200 +++ portage-prefix-2.1.14/bin/misc-functions.sh 2006-07-24 11:40:09.000000000 +0200 @@ -50,7 +50,7 @@ # Don't want paths that point to the tree where the package was built # (older, broken libtools would do this). Also check for null paths # because the loader will search $PWD when it finds null paths. - f=$(scanelf -qyRF '%r %p' "${D}" | grep -E "(${PORTAGE_BUILDDIR}|: |::|^:|^ )") + f=$(for f in $(scanelf -qyRF '%r %p' "${D}" | grep -E "(${PORTAGE_BUILDDIR}|: |::|^:|^ )"); do echo "${D}${f}"; done) if [[ -n ${f} ]] ; then echo -ne '\a\n' echo "QA Notice: the following files contain insecure RUNPATH's"