summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/eog/files/eog-0.6-version_locale_dirs.patch')
-rw-r--r--media-gfx/eog/files/eog-0.6-version_locale_dirs.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/eog/files/eog-0.6-version_locale_dirs.patch b/media-gfx/eog/files/eog-0.6-version_locale_dirs.patch
new file mode 100644
index 000000000000..435fb9ad06c4
--- /dev/null
+++ b/media-gfx/eog/files/eog-0.6-version_locale_dirs.patch
@@ -0,0 +1,23 @@
+--- Makefile.in.in.orig 2001-02-15 11:06:37.000000000 +0900
++++ Makefile.in.in 2004-02-28 14:24:27.623395272 +0900
+@@ -112,16 +112,16 @@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
++ *) destdir=$(DESTDIR)$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \