summaryrefslogtreecommitdiff
path: root/lang/clisp/patches/patch-ab
blob: 3340d38a75ade6c9be6d51037a94be91ac398ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.13 2008/02/29 19:34:44 tnn Exp $

--- src/po/Makefile.in.in.orig	2007-10-28 01:52:28.000000000 +0200
+++ src/po/Makefile.in.in
@@ -80,7 +80,7 @@ install-data-yes: all force
 	@catalogs='$(CATALOGS)'; \
 	for cat in $$catalogs; do \
 	  cat=`basename $$cat`; \
-	  destdir=$(localedir); \
+	  destdir=$(DESTDIR)$(localedir); \
 	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
 	  dir="$$destdir/$$lang/LC_MESSAGES"; \
 	  datarootdir=`echo "$$destdir" | sed -e 's,/[^/]*$$,,'`; \
@@ -108,7 +108,7 @@ installdirs: force
 	@catalogs='$(CATALOGS)'; \
 	for cat in $$catalogs; do \
 	  cat=`basename $$cat`; \
-	  destdir=$(localedir); \
+	  destdir=$(DESTDIR)$(localedir); \
 	  lang=`echo $$cat | sed 's/\.gmo$$//'`; \
 	  dir="$$destdir/$$lang/LC_MESSAGES"; \
 	  datarootdir=`echo "$$destdir" | sed -e 's,/[^/]*,,'`; \