commit:     40e3eed16f422d97562d24703ef1e0111af5081a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 12:17:57 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 14:26:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e3eed1

media-gfx/inkscape: Check compiler if compiling only

Closes: https://bugs.gentoo.org/633406
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/inkscape/inkscape-0.92.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/inkscape/inkscape-0.92.4.ebuild 
b/media-gfx/inkscape/inkscape-0.92.4.ebuild
index 078ed739c98..13ee14e96df 100644
--- a/media-gfx/inkscape/inkscape-0.92.4.ebuild
+++ b/media-gfx/inkscape/inkscape-0.92.4.ebuild
@@ -105,7 +105,7 @@ S="${WORKDIR}/${MY_P}"
 RESTRICT="test"
 
 pkg_pretend() {
-       if use openmp; then
+       if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
                tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
        fi
 }

Reply via email to