diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-31 15:34:01 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-12-31 16:01:29 +0100 |
commit | 62557eeffdeb748ba563e73963ce403ae46b3201 (patch) | |
tree | 6fc150265418f493873948bc82690d514bc2e492 /eclass | |
parent | x11-terms/rxvt-unicode: Optionally support xterm SGR 1006 mouse extension (diff) | |
download | gentoo-62557eeffdeb748ba563e73963ce403ae46b3201.tar.gz gentoo-62557eeffdeb748ba563e73963ce403ae46b3201.tar.bz2 gentoo-62557eeffdeb748ba563e73963ce403ae46b3201.zip |
mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozlinguas-v2.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass index 73576e967fa6..7795a856728b 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) |