diff options
author | David Seifert <soap@gentoo.org> | 2023-02-19 18:55:00 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-02-19 18:55:00 +0100 |
commit | 05ef12ca7846aa5ebfb82ad801cdb97f663706d5 (patch) | |
tree | 5ac6c6f9946f8baf172a4610064e0587da1bd352 /sys-devel/gettext | |
parent | dev-java/tomcat-servlet-api: Stabilize 8.5.85 ppc64, #895436 (diff) | |
download | gentoo-05ef12ca7846aa5ebfb82ad801cdb97f663706d5.tar.gz gentoo-05ef12ca7846aa5ebfb82ad801cdb97f663706d5.tar.bz2 gentoo-05ef12ca7846aa5ebfb82ad801cdb97f663706d5.zip |
sys-devel/gettext: add tc-check-openmp checks for openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r-- | sys-devel/gettext/gettext-0.21.1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-devel/gettext/gettext-0.21.1.ebuild b/sys-devel/gettext/gettext-0.21.1.ebuild index 654d28fe3fbd..df051017c102 100644 --- a/sys-devel/gettext/gettext-0.21.1.ebuild +++ b/sys-devel/gettext/gettext-0.21.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Note: Keep version bumps in sync with dev-libs/libintl. @@ -6,7 +6,7 @@ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc -inherit java-pkg-opt-2 libtool multilib-minimal verify-sig +inherit java-pkg-opt-2 libtool multilib-minimal verify-sig toolchain-funcs DESCRIPTION="GNU locale utilities" HOMEPAGE="https://www.gnu.org/software/gettext/" @@ -70,7 +70,12 @@ PATCHES=( QA_SONAME_NO_SYMLINK=".*/preloadable_libintl.so" +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp java-pkg-opt-2_pkg_setup } |