summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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