summaryrefslogtreecommitdiff
path: root/emulators/vice/patches/patch-aa
blob: 1903b286188ca320e20e80246f3ec90ef1b6c0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.11 2011/04/04 13:42:08 wiz Exp $

Bring back DESTDIR support which is somehow patched out by pkgsrc.
    localedir = $(DESTDIR)$(datadir)/locale
is changed to
    localedir = /usr/pkg/share/locale
and the same for gnulocaledir.

--- po/Makefile.in.in.dist	2011-02-27 00:39:47.000000000 +0100
+++ po/Makefile.in.in	2011-02-27 01:11:12.000000000 +0100
@@ -126,8 +126,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; \