dev-libs/beignet: depend on sys-devel/clang[static-analyzer]
authorMarek Szuba <marecki@gentoo.org>
Wed, 3 Jul 2019 11:21:07 +0000 (12:21 +0100)
committerMarek Szuba <marecki@gentoo.org>
Wed, 3 Jul 2019 11:21:07 +0000 (12:21 +0100)
Turns out that the absence of static-analyzer among sys-devel/clang USE
flags causes a configure-time error. The flag in question is enabled by
default so only a subset of users has been affected.

Many thanks to Conrad Kostecki for having finally identified the source
of this problem!

Closes: https://bugs.gentoo.org/664342
Closes: https://bugs.gentoo.org/689088
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-libs/beignet/beignet-1.3.2-r3.ebuild

index 0d0b8a6bae771b6f8dec218aab58dde11e1bc127..132de5924f5fff1320af1c782158a867513d7cab 100644 (file)
@@ -21,7 +21,7 @@ BDEPEND="${PYTHON_DEPS}
        virtual/pkgconfig"
 COMMON="app-eselect/eselect-opencl
        media-libs/mesa[${MULTILIB_USEDEP}]
-       <sys-devel/clang-8.0.0:=[${MULTILIB_USEDEP}]
+       <sys-devel/clang-8.0.0:=[static-analyzer,${MULTILIB_USEDEP}]
        >=x11-libs/libdrm-2.4.70[video_cards_intel,${MULTILIB_USEDEP}]
        x11-libs/libXext[${MULTILIB_USEDEP}]
        x11-libs/libXfixes[${MULTILIB_USEDEP}]