commit:     3565ac667f77439f9a9d751dbf28fdab08c705f0
Author:     Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Mon Oct  4 21:09:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  6 03:32:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3565ac66

media-gfx/mandelbulber: Add missing openmp check

Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/mandelbulber/mandelbulber-2.26.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-gfx/mandelbulber/mandelbulber-2.26.ebuild 
b/media-gfx/mandelbulber/mandelbulber-2.26.ebuild
index 2a64d2e1740..59adb85693f 100644
--- a/media-gfx/mandelbulber/mandelbulber-2.26.ebuild
+++ b/media-gfx/mandelbulber/mandelbulber-2.26.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MY_P="${PN}2-${PV}"
-inherit desktop qmake-utils xdg-utils
+inherit desktop qmake-utils toolchain-funcs xdg-utils
 
 DESCRIPTION="Tool to render 3D fractals"
 HOMEPAGE="https://www.mandelbulber.com";
@@ -46,6 +46,14 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${MY_P}
 
+pkg_pretend() {
+       [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+pkg_setup() {
+       [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
 src_prepare() {
        default
 

Reply via email to