commit: 62557eeffdeb748ba563e73963ce403ae46b3201
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 14:34:01 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 15:01:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62557eef
mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
eclass/mozlinguas-v2.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index 73576e967fa..7795a856728 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -20,7 +20,9 @@ case "${EAPI:-0}" in
0|1)
die "EAPI ${EAPI:-0} does not support the '->' SRC_URI
operator";;
2|3|4|5|6)
+ inherit eapi7-ver
EXPORT_FUNCTIONS src_unpack src_compile src_install;;
+
*)
die "EAPI ${EAPI} is not supported, contact eclass
maintainers";;
esac
@@ -288,6 +290,9 @@ mozlinguas_src_compile() {
localedir+="/browser/locales"
;;
seamonkey)
+ if [[ "$(ver_cut 2)" -gt 53 ]] || { [[
"$(ver_cut 2)" -eq 53 ]] && [[ "$(ver_cut 3)" -ge 6 ]] ; } ; then
+ localedir+="/comm"
+ fi
localedir+="/suite/locales"
;;
*thunderbird)