diff options
Diffstat (limited to 'math/pspp/patches/patch-ar')
-rw-r--r-- | math/pspp/patches/patch-ar | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/math/pspp/patches/patch-ar b/math/pspp/patches/patch-ar new file mode 100644 index 00000000000..c783dbf5ac3 --- /dev/null +++ b/math/pspp/patches/patch-ar @@ -0,0 +1,25 @@ +$NetBSD: patch-ar,v 1.1 2008/06/12 02:14:36 joerg Exp $ + +--- po/Makefile.in.in.orig 2008-06-11 10:30:55.000000000 +0000 ++++ po/Makefile.in.in +@@ -110,16 +110,16 @@ install-data: install-data-@USE_NLS@ + install-data-no: all + install-data-yes: all + if test -r $(MKINSTALLDIRS); then \ +- $(MKINSTALLDIRS) $(datadir); \ ++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \ + else \ +- $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + 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; \ |