media-gfx/inkscape: Check compiler if compiling only
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 1 Jun 2019 12:17:57 +0000 (14:17 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 1 Jun 2019 14:26:00 +0000 (16:26 +0200)
Closes: https://bugs.gentoo.org/633406
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-gfx/inkscape/inkscape-0.92.4.ebuild

index 078ed739c98e6a81b4d8f86686ab126151583dc5..13ee14e96df7bedb7458dea4b72ff72d0053a61d 100644 (file)
@@ -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
 }