summaryrefslogtreecommitdiff
path: root/archivers/gsharutils/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/gsharutils/patches/patch-ag')
-rw-r--r--archivers/gsharutils/patches/patch-ag18
1 files changed, 9 insertions, 9 deletions
diff --git a/archivers/gsharutils/patches/patch-ag b/archivers/gsharutils/patches/patch-ag
index 6a39a3f7207..5450d99d685 100644
--- a/archivers/gsharutils/patches/patch-ag
+++ b/archivers/gsharutils/patches/patch-ag
@@ -1,10 +1,8 @@
-$NetBSD: patch-ag,v 1.6 2003/10/20 09:35:06 agc Exp $
+$NetBSD: patch-ag,v 1.7 2009/02/09 23:53:52 joerg Exp $
-Apply fix from Kouichirou Hiratsuka in PR 22348
-
---- po/Makefile.in.in 2003/10/20 09:29:50 1.1
-+++ po/Makefile.in.in 2003/10/20 09:29:57
-@@ -120,11 +120,15 @@
+--- po/Makefile.in.in.orig 1995-12-04 17:19:48.000000000 +0100
++++ po/Makefile.in.in
+@@ -120,12 +120,16 @@ install-data: all
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
if test "`echo $$cat | sed 's/.*\(\..*\)/\1/'`" = ".gmo"; then \
@@ -17,11 +15,13 @@ Apply fix from Kouichirou Hiratsuka in PR 22348
destdir=$(localedir); \
fi; \
- lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
+- dir=$$destdir/$$lang/LC_MESSAGES; \
+ lang=`echo $$cat | sed 's/\(.*\)\.[^\.]*/\1/'`; \
- dir=$$destdir/$$lang/LC_MESSAGES; \
++ dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \
$(top_srcdir)/mkinstalldirs $$dir; \
if test -r $$cat; then \
-@@ -144,7 +148,7 @@
+ $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
+@@ -144,7 +148,7 @@ install-src: install
uninstall:
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
@@ -30,7 +30,7 @@ Apply fix from Kouichirou Hiratsuka in PR 22348
rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
done
-@@ -180,7 +184,7 @@
+@@ -180,7 +184,7 @@ update-po: Makefile
cd $(srcdir); \
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \