commit:     811a22055578ec3af42ce666782c0ab2b0809850
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 25 19:35:42 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Jul 25 19:37:53 2017 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=811a2205

Disable the hard-coded locale compilation for chatzilla when chatzilla is 
disabled

 www-client/seamonkey/seamonkey-2.49.2.0_p0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www-client/seamonkey/seamonkey-2.49.2.0_p0.ebuild 
b/www-client/seamonkey/seamonkey-2.49.2.0_p0.ebuild
index 3461971..8bcdf00 100644
--- a/www-client/seamonkey/seamonkey-2.49.2.0_p0.ebuild
+++ b/www-client/seamonkey/seamonkey-2.49.2.0_p0.ebuild
@@ -209,6 +209,11 @@ src_prepare() {
        sed 's@\(xargs rm\)$@\1 -f@' \
                -i "${ms}"/toolkit/mozapps/installer/packager.mk || die
 
+       # Don't build libs-% locale files for chatzilla if we are not building 
chatzilla
+       # (this is hard-coded in the build system at present rather than being 
based on configuration)
+       use chatzilla || sed '/extensions\/irc\/locales libs-/s@^@#@' \
+               -i "${S}"/suite/locales/Makefile.in || die
+
        eautoreconf old-configure.in
        cd "${S}"/mozilla || die
        eautoconf old-configure.in

Reply via email to