diff options
Diffstat (limited to 'media-video/vdr/files/vdr-1.6.0_p2_linguas.diff')
-rw-r--r-- | media-video/vdr/files/vdr-1.6.0_p2_linguas.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-video/vdr/files/vdr-1.6.0_p2_linguas.diff b/media-video/vdr/files/vdr-1.6.0_p2_linguas.diff new file mode 100644 index 000000000000..63e574713b7d --- /dev/null +++ b/media-video/vdr/files/vdr-1.6.0_p2_linguas.diff @@ -0,0 +1,24 @@ +install only the given value in LINGUAS +signed-of: Joerg Bornkessel <hd_brummy@gentoo.org> ( 2012/04/15 ) + +diff -Naur vdr-1.7.27.orig/Makefile vdr-1.7.27/Makefile +--- vdr-1.7.27.orig/Makefile 2012-04-15 15:45:18.000000000 +0200 ++++ vdr-1.7.27/Makefile 2012-04-15 15:46:21.000000000 +0200 +@@ -144,7 +144,7 @@ + + PODIR = po + LOCALEDIR = locale +-I18Npo = $(wildcard $(PODIR)/*.po) ++I18Npo = $(foreach dir,$(LINGUAS),$(wildcard $(PODIR)/$(dir)*.po)) + I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr.mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file)))))) + I18Npot = $(PODIR)/vdr.pot + +@@ -167,7 +167,7 @@ + + install-i18n: + @mkdir -p $(DESTDIR)$(LOCDIR) +- @(cd $(LOCALEDIR); cp -r --parents * $(DESTDIR)$(LOCDIR)) ++ @(cd $(LOCALEDIR); for linguas in $(LINGUAS); do cp -r --parents $$linguas* $(DESTDIR)$(LOCDIR); done) + + # The 'include' directory (for plugins): + |