Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 31 Dec 2020 15:01:35
Message-Id: 1609426889.62557eeffdeb748ba563e73963ce403ae46b3201.polynomial-c@gentoo
1 commit: 62557eeffdeb748ba563e73963ce403ae46b3201
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 14:34:01 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 15:01:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62557eef
7
8 mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 eclass/mozlinguas-v2.eclass | 5 +++++
13 1 file changed, 5 insertions(+)
14
15 diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
16 index 73576e967fa..7795a856728 100644
17 --- a/eclass/mozlinguas-v2.eclass
18 +++ b/eclass/mozlinguas-v2.eclass
19 @@ -20,7 +20,9 @@ case "${EAPI:-0}" in
20 0|1)
21 die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";;
22 2|3|4|5|6)
23 + inherit eapi7-ver
24 EXPORT_FUNCTIONS src_unpack src_compile src_install;;
25 +
26 *)
27 die "EAPI ${EAPI} is not supported, contact eclass maintainers";;
28 esac
29 @@ -288,6 +290,9 @@ mozlinguas_src_compile() {
30 localedir+="/browser/locales"
31 ;;
32 seamonkey)
33 + if [[ "$(ver_cut 2)" -gt 53 ]] || { [[ "$(ver_cut 2)" -eq 53 ]] && [[ "$(ver_cut 3)" -ge 6 ]] ; } ; then
34 + localedir+="/comm"
35 + fi
36 localedir+="/suite/locales"
37 ;;
38 *thunderbird)