diff options
author | 2024-08-19 18:51:21 +0200 | |
---|---|---|
committer | 2024-08-20 09:37:35 +0300 | |
commit | 6591ac044612e0459478ce64c9b5a63825140a64 (patch) | |
tree | 2b3925e49c654bc0b86ff71aa8c0dc2caf3ab93c /www-client | |
parent | www-client/seamonkey: 2.53.18.2-r1: Various improvements (diff) | |
download | gentoo-6591ac044612e0459478ce64c9b5a63825140a64.tar.gz gentoo-6591ac044612e0459478ce64c9b5a63825140a64.tar.bz2 gentoo-6591ac044612e0459478ce64c9b5a63825140a64.zip |
www-client/seamonkey: migrate to llvm-r1.eclass
Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
Closes: https://github.com/gentoo/gentoo/pull/38200
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/seamonkey/seamonkey-2.53.18.2-r1.ebuild | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/www-client/seamonkey/seamonkey-2.53.18.2-r1.ebuild b/www-client/seamonkey/seamonkey-2.53.18.2-r1.ebuild index c51469d4666f..5eabcd388561 100644 --- a/www-client/seamonkey/seamonkey-2.53.18.2-r1.ebuild +++ b/www-client/seamonkey/seamonkey-2.53.18.2-r1.ebuild @@ -8,7 +8,7 @@ WANT_AUTOCONF="2.1" PYTHON_COMPAT=( python3_{10..11} ) PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)' -LLVM_MAX_SLOT=18 +LLVM_COMPAT=( {17..18} ) # This list can be updated with scripts/get_langs.sh from the mozilla overlay # note - could not roll langpacks for: ca fi @@ -33,7 +33,7 @@ S="${WORKDIR}/${MY_MOZ_P}" MOZ_GENERATE_LANGPACKS=1 MOZ_L10N_SOURCEDIR="${S}/${P}-l10n" -inherit autotools check-reqs desktop edos2unix flag-o-matic llvm mozcoreconf-v6 mozlinguas-v2 pax-utils \ +inherit autotools check-reqs desktop edos2unix flag-o-matic llvm-r1 mozcoreconf-v6 mozlinguas-v2 pax-utils \ toolchain-funcs xdg-utils DESCRIPTION="Seamonkey Web Browser" @@ -56,16 +56,10 @@ BDEPEND=" dev-lang/perl dev-util/cbindgen >=sys-devel/binutils-2.16.1 - || ( - ( - sys-devel/clang:18 - sys-devel/llvm:18 - ) - ( - sys-devel/clang:17 - sys-devel/llvm:17 - ) - ) + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT}= + sys-devel/llvm:${LLVM_SLOT}= + ') virtual/pkgconfig virtual/rust amd64? ( >=dev-lang/yasm-1.1 ) @@ -150,15 +144,6 @@ QA_CONFIG_IMPL_DECL_SKIP=( BUILD_OBJ_DIR="${S}/seamonk" -llvm_check_deps() { - if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then - einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2 - return 1 - fi - - einfo "Using LLVM slot ${LLVM_SLOT} to build." >&2 -} - pkg_setup() { if [[ ${PV} == *_beta* ]] || [[ ${PV} == *_pre* ]] ; then ewarn @@ -167,7 +152,8 @@ pkg_setup() { ewarn "Those belong to upstream: https://bugzilla.mozilla.org" fi - llvm_pkg_setup + llvm-r1_pkg_setup + einfo "Using LLVM slot ${LLVM_SLOT} to build." >&2 moz_pkgsetup } |