2089
|
1 |
This patch has not yet been contributed upstream, but that is planned.
|
|
2 |
|
|
3 |
--- mailman-2.1.18-1/configure.~1~ 2014-05-06 09:43:56.000000000 -0700
|
|
4 |
+++ mailman-2.1.18-1/configure 2014-09-12 10:59:09.653064688 -0700
|
|
5 |
@@ -4564,6 +4564,13 @@
|
|
6 |
# scripts. They're removed on a make distclean, so we make them here.
|
|
7 |
mkdir -p build/bin build/contrib build/cron
|
|
8 |
|
|
9 |
+# For when $builddir != $srcdir, we need to create the messages sub-dirs
|
|
10 |
+# under $builddir, or .po -> .mo compilation will fail.
|
|
11 |
+for i in $srcdir/messages/*/LC_MESSAGES ; do
|
|
12 |
+ j=`echo $i | sed -e "s|$srcdir/||"`
|
|
13 |
+ mkdir -p $j
|
|
14 |
+done
|
|
15 |
+
|
|
16 |
ac_config_files="$ac_config_files misc/paths.py Mailman/Defaults.py Mailman/mm_cfg.py.dist src/Makefile misc/Makefile bin/Makefile Mailman/Makefile Mailman/Cgi/Makefile Mailman/Logging/Makefile Mailman/Archiver/Makefile Mailman/Commands/Makefile Mailman/Handlers/Makefile Mailman/Bouncers/Makefile Mailman/Queue/Makefile Mailman/MTA/Makefile Mailman/Gui/Makefile templates/Makefile cron/Makefile scripts/Makefile messages/Makefile cron/crontab.in misc/mailman Makefile tests/Makefile tests/bounces/Makefile tests/msgs/Makefile $SCRIPTS"
|
|
17 |
|
|
18 |
ac_config_commands="$ac_config_commands default"
|
|
19 |
--- mailman-2.1.18-1/messages/Makefile.in.orig 2014-05-06 09:43:56.000000000 -0700
|
|
20 |
+++ mailman-2.1.18-1/messages/Makefile.in 2014-09-12 11:12:16.177368152 -0700
|
|
21 |
@@ -105,7 +105,7 @@
|
|
22 |
@for d in $(LANGUAGES); \
|
|
23 |
do \
|
|
24 |
po=$(srcdir)/$$d/LC_MESSAGES/mailman.po; \
|
|
25 |
- mo=$(srcdir)/$$d/LC_MESSAGES/mailman.mo; \
|
|
26 |
+ mo=$$d/LC_MESSAGES/mailman.mo; \
|
|
27 |
dir=$(DESTDIR)$(prefix)/messages/$$d/LC_MESSAGES; \
|
|
28 |
$(INSTALL) -m $(FILEMODE) $$po $$dir; \
|
|
29 |
$(INSTALL) -m $(FILEMODE) $$mo $$dir; \
|