diff options
author | obache <obache@pkgsrc.org> | 2011-03-24 01:29:34 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-24 01:29:34 +0000 |
commit | 3bf5065f238c0837379fde28e1111ec71952b04a (patch) | |
tree | 03363541f3d8eabf25053f87eb0482831097b69d /devel | |
parent | fcf22574538606a823dd7ea699dfd30fd825aabf (diff) | |
download | pkgsrc-3bf5065f238c0837379fde28e1111ec71952b04a.tar.gz |
Add patches accidently missed at last commit.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gdb/patches/patch-bfd_po_Make-in | 25 | ||||
-rw-r--r-- | devel/gdb/patches/patch-opcodes_po_Make-in | 25 |
2 files changed, 50 insertions, 0 deletions
diff --git a/devel/gdb/patches/patch-bfd_po_Make-in b/devel/gdb/patches/patch-bfd_po_Make-in new file mode 100644 index 00000000000..91b00a59aea --- /dev/null +++ b/devel/gdb/patches/patch-bfd_po_Make-in @@ -0,0 +1,25 @@ +$NetBSD: patch-bfd_po_Make-in,v 1.1 2011/03/24 01:29:34 obache Exp $ + +--- bfd/po/Make-in.orig 2011-03-05 07:49:59.000000000 +0000 ++++ bfd/po/Make-in +@@ -124,16 +124,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; \ diff --git a/devel/gdb/patches/patch-opcodes_po_Make-in b/devel/gdb/patches/patch-opcodes_po_Make-in new file mode 100644 index 00000000000..59cf445628b --- /dev/null +++ b/devel/gdb/patches/patch-opcodes_po_Make-in @@ -0,0 +1,25 @@ +$NetBSD: patch-opcodes_po_Make-in,v 1.1 2011/03/24 01:29:34 obache Exp $ + +--- opcodes/po/Make-in.orig 2011-03-05 07:50:01.000000000 +0000 ++++ opcodes/po/Make-in +@@ -111,16 +111,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; \ |