freebsd-ports/net/gnomeicu/files/patch-po::Makefile.in.in
Jacques Vidrine 1dd602ade3 Update 0.96.1 -> 0.98
PR:		ports/33146
Submitted by:	Jochem Kossen <j.kossen@home.nl>

Fix the locale directories.
Add a WITH_SOCKS5 knob while I'm here.
2001-12-29 04:07:34 +00:00

21 lines
628 B
Plaintext

--- 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 \