diff options
Diffstat (limited to 'media-gfx/darktable/darktable-3.0.2-r1.ebuild')
-rw-r--r-- | media-gfx/darktable/darktable-3.0.2-r1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/media-gfx/darktable/darktable-3.0.2-r1.ebuild b/media-gfx/darktable/darktable-3.0.2-r1.ebuild index 0d3a07d8b76f..298560b890d0 100644 --- a/media-gfx/darktable/darktable-3.0.2-r1.ebuild +++ b/media-gfx/darktable/darktable-3.0.2-r1.ebuild @@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND} >=sys-devel/clang-4 >=sys-devel/llvm-4 ) - openmp? ( >=sys-devel/gcc-6[openmp,graphite] ) " RDEPEND="${COMMON_DEPEND} kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 ) @@ -77,6 +76,12 @@ PATCHES=( S="${WORKDIR}/${P/_/~}" pkg_pretend() { + # 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" + fi + if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi |