adjust QA_* variable names for complex values of like x86-fbsd
authorMarius Mauch <genone@gentoo.org>
Sat, 9 Dec 2006 16:00:11 +0000 (16:00 -0000)
committerMarius Mauch <genone@gentoo.org>
Sat, 9 Dec 2006 16:00:11 +0000 (16:00 -0000)
svn path=/main/trunk/; revision=5238

bin/misc-functions.sh

index b0c7e571fc7d2f609e5dca33f01940f1d96e7f7e..7246b45e0c4f15a7837524b6a580776b1b82224b 100755 (executable)
@@ -90,7 +90,7 @@ install_qa_check() {
                # binary-only and upstream isn't cooperating (nvidia-glx) ... we
                # allow ebuild authors to set QA_TEXTRELS_arch and QA_TEXTRELS ...
                # the former overrides the latter ... regexes allowed ! :)
-               qa_var="QA_TEXTRELS_${ARCH}"
+               qa_var="QA_TEXTRELS_${ARCH/-/_}"
                [[ -n ${!qa_var} ]] && QA_TEXTRELS=${!qa_var}
                [[ -n ${QA_STRICT_TEXTRELS} ]] && QA_TEXTRELS=""
                export QA_TEXTRELS
@@ -127,10 +127,10 @@ install_qa_check() {
                                        # QA_EXECSTACK ... the former overrides the latter ...
                                        # regexes allowed ! :)
 
-                                       qa_var="QA_EXECSTACK_${ARCH}"
+                                       qa_var="QA_EXECSTACK_${ARCH/-/_}"
                                        [[ -n ${!qa_var} ]] && QA_EXECSTACK=${!qa_var}
                                        [[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK=""
-                                       qa_var="QA_WX_LOAD_${ARCH}"
+                                       qa_var="QA_WX_LOAD_${ARCH/-/_}"
                                        [[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var}
                                        [[ -n ${QA_STRICT_WX_LOAD} ]] && QA_WX_LOAD=""
                                        export QA_EXECSTACK QA_WX_LOAD