diff options
author | 2023-08-14 11:00:45 +0100 | |
---|---|---|
committer | 2023-08-14 11:00:45 +0100 | |
commit | f12ab208fc51d893e7ffc18b1e17479f337bb89b (patch) | |
tree | bfd363742c521df2cff4cae0264e3133d036a6d8 /media-sound | |
parent | net-dns/bind-tools: add 9.16.42 (diff) | |
download | gentoo-f12ab208fc51d893e7ffc18b1e17479f337bb89b.tar.gz gentoo-f12ab208fc51d893e7ffc18b1e17479f337bb89b.tar.bz2 gentoo-f12ab208fc51d893e7ffc18b1e17479f337bb89b.zip |
media-sound/easyeffects: allow building with >=sys-devel/clang-16
Closes: https://bugs.gentoo.org/910310
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/easyeffects/easyeffects-7.0.7.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/media-sound/easyeffects/easyeffects-7.0.7.ebuild b/media-sound/easyeffects/easyeffects-7.0.7.ebuild index 480d947feca9..14f68e4eecc4 100644 --- a/media-sound/easyeffects/easyeffects-7.0.7.ebuild +++ b/media-sound/easyeffects/easyeffects-7.0.7.ebuild @@ -58,9 +58,10 @@ BDEPEND="dev-libs/appstream-glib pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if ! tc-is-gcc; then - die "Since version 6.3.0 ${PN} only supports GCC due to required level of C++20 support" - fi - if [[ $(gcc-major-version) -lt 11 ]] ; then + if ! tc-is-clang || [[ $(clang-major-version) -lt 16 ]]; then + die "${PN} can only be built with GCC or >=Clang-16 due to required level of C++20 support" + fi + elif [[ $(gcc-major-version) -lt 11 ]] ; then die "Since version 6.2.5 ${PN} requires GCC 11 or newer to build (Bug #848072)" fi fi |