summaryrefslogtreecommitdiffstats
path: root/net/gnomeicu2/files/patch-po::Makefile.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnomeicu2/files/patch-po::Makefile.in.in')
-rw-r--r--net/gnomeicu2/files/patch-po::Makefile.in.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/gnomeicu2/files/patch-po::Makefile.in.in b/net/gnomeicu2/files/patch-po::Makefile.in.in
new file mode 100644
index 0000000..eb27fe3
--- /dev/null
+++ b/net/gnomeicu2/files/patch-po::Makefile.in.in
@@ -0,0 +1,20 @@
+--- po/Makefile.in.in.orig Sun Dec 23 17:47:08 2001
++++ po/Makefile.in.in Fri Dec 28 15:46:57 2001
+@@ -23,7 +23,7 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = $(prefix)/share/locale
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@
+@@ -106,7 +106,7 @@
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
++ lang=`echo $$cat | sed -E 's/\.g?mo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ if test -r $$cat; then \
OpenPOWER on IntegriCloud