commit:     63af976b818713e94e17f63c9c51a5d06c71eb1a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 21:47:12 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 21:47:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63af976b

media-tv/v4l-utils: Don't perform clang target check in binpkgs

Closes: https://bugs.gentoo.org/762328
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild 
b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
index a1ac0bb004d..917bdd3a785 100644
--- a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
+++ b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
@@ -47,7 +47,7 @@ PATCHES=(
 QA_PREBUILT="*/rc_keymaps/protocols/*.o"
 
 pkg_pretend() {
-       if use bpf; then
+       if [[ ${MERGE_TYPE} != binary ]] && use bpf; then
                local clang=${ac_cv_prog_CLANG:-${CLANG:-clang}}
                ${clang} -target bpf -print-supported-cpus &>/dev/null ||
                        die "${clang} does not support the BPF target. Please 
check LLVM_TARGETS."

Reply via email to