diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-19 18:36:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-19 18:36:35 +0000 |
commit | 6366d4b811c19fcb13dc2052cbd8b7264357561b (patch) | |
tree | 1045377cf58019b9175f5d2d77421d026e372cbe /print | |
parent | d5ebc763b1208d71f7497a32fc3511926bb902e4 (diff) | |
download | pkgsrc-6366d4b811c19fcb13dc2052cbd8b7264357561b.tar.gz |
Install locale files under DESTDIR.
Diffstat (limited to 'print')
-rw-r--r-- | print/rlpr/distinfo | 3 | ||||
-rw-r--r-- | print/rlpr/patches/patch-aa | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/print/rlpr/distinfo b/print/rlpr/distinfo index cf59e075226..5bd3cc0c986 100644 --- a/print/rlpr/distinfo +++ b/print/rlpr/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:51:44 agc Exp $ +$NetBSD: distinfo,v 1.3 2010/02/19 18:36:35 joerg Exp $ SHA1 (rlpr-2.06.tar.gz) = 3b14ca164033d529eb8fd6e781301ac93cdf00fd RMD160 (rlpr-2.06.tar.gz) = 8713776810a2df48010538debc45733e7b70367f Size (rlpr-2.06.tar.gz) = 272200 bytes +SHA1 (patch-aa) = 988226f29c6f5cff7a5cd258cd74ae994d477de0 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; \ |