diff options
author | Sam James <sam@gentoo.org> | 2021-12-16 04:38:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-16 04:38:48 +0000 |
commit | f19472c25655279ce8dd1ea88d44a2c55cdfe071 (patch) | |
tree | f55f988fd4a0db6fddd4c0070b474cd0fbb810b8 /media-libs/libmypaint | |
parent | dev-util/git-delta: add 0.11.3 (diff) | |
download | gentoo-f19472c25655279ce8dd1ea88d44a2c55cdfe071.tar.gz gentoo-f19472c25655279ce8dd1ea88d44a2c55cdfe071.tar.bz2 gentoo-f19472c25655279ce8dd1ea88d44a2c55cdfe071.zip |
media-libs/libmypaint: fix openmp handling
Bug: https://bugs.gentoo.org/828887
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libmypaint')
-rw-r--r-- | media-libs/libmypaint/libmypaint-1.6.1-r1.ebuild (renamed from media-libs/libmypaint/libmypaint-1.6.1.ebuild) | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/media-libs/libmypaint/libmypaint-1.6.1.ebuild b/media-libs/libmypaint/libmypaint-1.6.1-r1.ebuild index 2842166e79e2..df9fc52982d4 100644 --- a/media-libs/libmypaint/libmypaint-1.6.1.ebuild +++ b/media-libs/libmypaint/libmypaint-1.6.1-r1.ebuild @@ -34,7 +34,6 @@ DEPEND=" >=media-libs/gegl-0.4.14:0.4[introspection?] ) introspection? ( >=dev-libs/gobject-introspection-1.32 ) - openmp? ( >sys-devel/gcc-5:*[openmp] ) nls? ( sys-devel/gettext ) " RDEPEND=" @@ -42,6 +41,14 @@ RDEPEND=" !<media-gfx/mypaint-1.2.1 " +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + src_configure() { tc-ld-disable-gold # bug 589266 |