components/desktop/thunderbird/patches/thunderbird31-508-lightning-l10-build-all.patch
changeset 5255 cea0e462549a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/desktop/thunderbird/patches/thunderbird31-508-lightning-l10-build-all.patch	Mon Jan 11 09:27:45 2016 -0800
@@ -0,0 +1,15 @@
+Fix for Solaris.
+This should be investigated for sending upstream.
+
+--- comm-esr31/calendar/lightning/lightning-packager.mk.orig	2015-07-03 13:58:00.219762666 +0530
++++ comm-esr31/calendar/lightning/lightning-packager.mk	2015-07-03 16:18:28.846829012 +0530
+@@ -133,7 +133,8 @@ repack-stage-all: $(XPI_STAGE_PATH)/$(XP
+ langpack-all: AB_CD=all
+ langpack-all: L10N_XPI_NAME=$(XPI_NAME)-all
+ langpack-all: L10N_XPI_PKGNAME=$(subst .$(AB_CD),,$(XPI_PKGNAME))
+-langpack-all: recreate-platformini repack-stage-all $(addprefix libs-,$(call apposlocales,calendar))
++#langpack-all: recreate-platformini repack-stage-all $(addprefix libs-,$(call apposlocales,calendar))
++langpack-all: recreate-platformini repack-stage-all $(addprefix libs-,$(shell awk '{ if ($$2 == "" || $$2 == "$(SHORTOS)") { print $$1 } }' $(topsrcdir)/calendar/locales/shipped-locales))
+ 	@echo "Done packaging"
+ 
+ # Actual locale packaging targets. If L10N_XPI_NAME is set, then use it.