diff options
author | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:12 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-05-14 23:30:12 +0200 |
commit | 874964c0135c47678ca1d40cc127f5be086876ba (patch) | |
tree | f5f57870757348462503c4abbd1949e8c8e0c234 /media-gfx/inkscape/inkscape-1.1.2-r1.ebuild | |
parent | media-gfx/imagemagick: [QA] tc-has-openmp → tc-check-openmp (diff) | |
download | gentoo-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-1.1.2-r1.ebuild')
-rw-r--r-- | media-gfx/inkscape/inkscape-1.1.2-r1.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/media-gfx/inkscape/inkscape-1.1.2-r1.ebuild b/media-gfx/inkscape/inkscape-1.1.2-r1.ebuild index 380722ee9a7b..372ffec009bb 100644 --- a/media-gfx/inkscape/inkscape-1.1.2-r1.ebuild +++ b/media-gfx/inkscape/inkscape-1.1.2-r1.ebuild @@ -111,9 +111,12 @@ PATCHES=( ) 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() { |