diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-12-02 23:29:54 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-12-02 23:30:45 +0000 |
commit | eb2f6f10f1ab0007368510cff1768722d49a2b39 (patch) | |
tree | 8347a1d9967db409b17ae23a4a72a6fe0bec579a /media-gfx | |
parent | media-libs/tg_owt: Minor comment change (diff) | |
download | gentoo-eb2f6f10f1ab0007368510cff1768722d49a2b39.tar.gz gentoo-eb2f6f10f1ab0007368510cff1768722d49a2b39.tar.bz2 gentoo-eb2f6f10f1ab0007368510cff1768722d49a2b39.zip |
media-gfx/darktable: make sys-devel/gcc[-graphite] error message more detailed
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/darktable/darktable-4.0.1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-gfx/darktable/darktable-4.0.1.ebuild b/media-gfx/darktable/darktable-4.0.1.ebuild index fcd47002d330..c89e7aa5207f 100644 --- a/media-gfx/darktable/darktable-4.0.1.ebuild +++ b/media-gfx/darktable/darktable-4.0.1.ebuild @@ -95,8 +95,11 @@ pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then # Bug #695658 if tc-is-gcc; then - test-flags-CC -floop-block &> /dev/null || \ - die "Please switch to a gcc version built with USE=graphite" + if ! test-flags-CC -floop-block &> /dev/null; then + eerror "Building ${PN} with GCC requires Graphite support." + eerror "Please switch to a version of sys-devel/gcc built with USE=graphite, or use a different compiler." + die "Selected compiler is sys-devel/gcc[-graphite]" + fi fi use openmp && tc-check-openmp |