diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-21 18:13:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-21 18:13:46 +0000 |
commit | 5bb31fdd140f043348149198b69b341b6461c186 (patch) | |
tree | eb5965448231bbacad718da1bb121dc7a344da95 | |
parent | dffb4888d54b99ca8b9dd61eb31ccf4e3cf707b4 (diff) | |
download | portage-5bb31fdd140f043348149198b69b341b6461c186.tar.gz portage-5bb31fdd140f043348149198b69b341b6461c186.tar.bz2 portage-5bb31fdd140f043348149198b69b341b6461c186.zip |
Rename QA_NEEDED to QA_DT_NEEDED.
svn path=/main/trunk/; revision=14117
-rwxr-xr-x | bin/misc-functions.sh | 12 | ||||
-rw-r--r-- | man/ebuild.5 | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 69c0ff1ce..cfd7e0a3c 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -277,20 +277,20 @@ install_qa_check() { fi # Check for shared libraries lacking NEEDED entries - qa_var="QA_NEEDED_${ARCH/-/_}" - eval "[[ -n \${!qa_var} ]] && QA_NEEDED=(\"\${${qa_var}[@]}\")" + qa_var="QA_DT_NEEDED_${ARCH/-/_}" + eval "[[ -n \${!qa_var} ]] && QA_DT_NEEDED=(\"\${${qa_var}[@]}\")" f=$(scanelf -ByF '%n %p' "${D}"{,usr/}lib*.so* | gawk '$2 == "" { print }' | sed -e "s:^[[:space:]]${D}:/:") if [[ -n ${f} ]] ; then echo "${f}" > "${T}"/scanelf-missing-NEEDED.log - if [[ "${QA_STRICT_NEEDED-unset}" == unset ]] ; then - if [[ ${#QA_NEEDED[@]} -gt 1 ]] ; then - for x in "${QA_NEEDED[@]}" ; do + if [[ "${QA_STRICT_DT_NEEDED-unset}" == unset ]] ; then + if [[ ${#QA_DT_NEEDED[@]} -gt 1 ]] ; then + for x in "${QA_DT_NEEDED[@]}" ; do sed -e "s#^/${x#/}\$##" -i "${T}"/scanelf-missing-NEEDED.log done else local shopts=$- set -o noglob - for x in ${QA_NEEDED} ; do + for x in ${QA_DT_NEEDED} ; do sed -e "s#^/${x#/}\$##" -i "${T}"/scanelf-missing-NEEDED.log done set +o noglob diff --git a/man/ebuild.5 b/man/ebuild.5 index 4a2d29601..95d763f31 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -500,7 +500,7 @@ This should contain a list of file paths, relative to the image directory, of shared libraries that lack SONAMEs. The paths may contain regular expressions with escape\-quoted special characters. .TP -\fBQA_NEEDED\fR +\fBQA_DT_NEEDED\fR This should contain a list of file paths, relative to the image directory, of shared libraries that lack NEEDED entries. The paths may contain regular expressions with escape\-quoted special characters. |