--- wxWidgets-2.8.8/locale/Makefile-orig 2008-07-25 08:50:03.193698000 -0500
+++ wxWidgets-2.8.8/locale/Makefile 2008-07-25 08:51:08.766049000 -0500
@@ -7,11 +7,11 @@
# being called with this dir as the cwd, but if we generate this file
# with configure an explicit path should be specified -- RL.
-WX_LINGUAS := $(shell ls *.po */*.po 2> /dev/null | sed 's/wxstd.po//g' | sed 's/.po//g')
-WX_LINGUAS_UPDATE := $(shell ls *.po 2> /dev/null | sed 's/wxstd.po//g' | sed 's/.po//g')
+WX_LINGUAS := $(shell ls -1 *.po */*.po 2> /dev/null | grep -v wxstd | sed -e 's/\.po//')
+WX_LINGUAS_UPDATE := $(shell ls -1 *.po 2> /dev/null | grep -v wxstd | sed -e 's/\.po//')
# the programs we use (TODO: use configure to detect them)
-MSGFMT=msgfmt --verbose
+MSGFMT=msgfmt
MSGMERGE=msgmerge
XGETTEXT=xgettext
XARGS=xargs
@@ -21,7 +21,7 @@ XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwx
# implicit rules
%.mo: %.po
- $(MSGFMT) -c -o $@ $<
+ $(MSGFMT) -o $@ $<
# a PO file must be updated from wxstd.po to include new translations
# (but not manually maintained platform-specific files like msw/it.po)