Rename QA_NEEDED to QA_DT_NEEDED.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 21 Aug 2009 18:13:46 +0000 (18:13 -0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Fri, 21 Aug 2009 18:13:46 +0000 (18:13 -0000)
svn path=/main/trunk/; revision=14117

bin/misc-functions.sh
man/ebuild.5

index 69c0ff1ce36514aa793de2b3775b5077c2fcee5f..cfd7e0a3c77aa7fdc6b582612d767cb44819bbd6 100755 (executable)
@@ -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
index 4a2d296014ac3b09bf7e76aefaf21fdd28b58f89..95d763f31f777df57c0bba0a4f76981e7ed7632b 100644 (file)
@@ -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.