commit:     14eea9ea21093c6c29a354c9649d04072ae38df8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 19 09:53:37 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 19 11:35:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14eea9ea

llvm.org.eclass: add comment explaining syntax choice

See pkgcheck.git commit 7056ff780f7ba4b16adfca5c155fe3cc50fd1a06. UncheckableDep
can fire on complex structures like [x?,y?,z?,...?,...,...?].

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/llvm.org.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass
index 0fec50a95e2b..62dd440e320d 100644
--- a/eclass/llvm.org.eclass
+++ b/eclass/llvm.org.eclass
@@ -343,6 +343,8 @@ llvm.org_set_globals() {
                        REQUIRED_USE+=" || ( ${ALL_LLVM_TARGET_FLAGS[*]} )"
                        ;;&
                llvm)
+                       # We do x? ( ... ) instead of [x?,y?,...] to workaround
+                       # a pkgcheck bug: 
https://github.com/pkgcore/pkgcheck/pull/423
                        local dep=
                        for x in "${ALL_LLVM_TARGET_FLAGS[@]}"; do
                                dep+="

Reply via email to