diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-16 19:12:00 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-16 19:12:00 +0000 |
commit | 0383944715799010c7d01921ab91fc02ab319513 (patch) | |
tree | 950deea6baa27e406e7f6b0af1d43dbd2fd05113 /ham/tnt/patches/patch-ae | |
parent | 9dcdc95ae158b05d6e1c8878f08cc237ef6bb8ed (diff) | |
download | pkgsrc-0383944715799010c7d01921ab91fc02ab319513.tar.gz |
DESTDIR support
Diffstat (limited to 'ham/tnt/patches/patch-ae')
-rw-r--r-- | ham/tnt/patches/patch-ae | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ham/tnt/patches/patch-ae b/ham/tnt/patches/patch-ae new file mode 100644 index 00000000000..d10012deff4 --- /dev/null +++ b/ham/tnt/patches/patch-ae @@ -0,0 +1,25 @@ +$NetBSD: patch-ae,v 1.1 2009/02/16 19:20:16 joerg Exp $ + +--- po/Makefile.in.in.orig 2009-02-16 20:17:28.000000000 +0100 ++++ po/Makefile.in.in +@@ -111,9 +111,9 @@ 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 \ +- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \ ++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \ + fi + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ +@@ -123,7 +123,7 @@ install-data-yes: all + *) destdir=$(localedir);; \ + esac; \ + lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ +- dir=$$destdir/$$lang/LC_MESSAGES; \ ++ dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \ + if test -r "$(MKINSTALLDIRS)"; then \ + $(MKINSTALLDIRS) $$dir; \ + else \ |