summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-05-14 23:30:12 +0200
committerDavid Seifert <soap@gentoo.org>2022-05-14 23:30:12 +0200
commit874964c0135c47678ca1d40cc127f5be086876ba (patch)
treef5f57870757348462503c4abbd1949e8c8e0c234 /media-gfx/inkscape/inkscape-9999.ebuild
parentmedia-gfx/imagemagick: [QA] tc-has-openmp → tc-check-openmp (diff)
downloadgentoo-874964c0135c47678ca1d40cc127f5be086876ba.tar.gz
gentoo-874964c0135c47678ca1d40cc127f5be086876ba.tar.bz2
gentoo-874964c0135c47678ca1d40cc127f5be086876ba.zip
media-gfx/inkscape: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/inkscape/inkscape-9999.ebuild')
-rw-r--r--media-gfx/inkscape/inkscape-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/media-gfx/inkscape/inkscape-9999.ebuild b/media-gfx/inkscape/inkscape-9999.ebuild
index 77b4ae19423d..8f8d1dbdbc7b 100644
--- a/media-gfx/inkscape/inkscape-9999.ebuild
+++ b/media-gfx/inkscape/inkscape-9999.ebuild
@@ -106,9 +106,12 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
- tc-has-openmp || die "Please switch to an openmp compatible compiler"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ python-single-r1_pkg_setup
}
src_unpack() {