1dd602ade3
PR: ports/33146 Submitted by: Jochem Kossen <j.kossen@home.nl> Fix the locale directories. Add a WITH_SOCKS5 knob while I'm here.
21 lines
628 B
Plaintext
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 \
|