summaryrefslogtreecommitdiff
path: root/app-text/spellutils/files/spellutils-0.7-nls.patch
blob: eed9d8dd9d5a573b56e859a6c96f9ed0061a355d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -119,8 +119,8 @@
 	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; \