diff options
Diffstat (limited to 'print/rlpr/patches/patch-aa')
-rw-r--r-- | print/rlpr/patches/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/print/rlpr/patches/patch-aa b/print/rlpr/patches/patch-aa new file mode 100644 index 00000000000..2f4048d0c34 --- /dev/null +++ b/print/rlpr/patches/patch-aa @@ -0,0 +1,25 @@ +$NetBSD: patch-aa,v 1.1 2010/02/19 18:36:35 joerg Exp $ + +--- po/Makefile.in.in.orig 2010-02-19 18:34:39.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; \ |