summaryrefslogtreecommitdiff
path: root/cross/h8300-hms-binutils/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'cross/h8300-hms-binutils/patches/patch-ai')
-rw-r--r--cross/h8300-hms-binutils/patches/patch-ai27
1 files changed, 27 insertions, 0 deletions
diff --git a/cross/h8300-hms-binutils/patches/patch-ai b/cross/h8300-hms-binutils/patches/patch-ai
new file mode 100644
index 00000000000..3da7c6dba93
--- /dev/null
+++ b/cross/h8300-hms-binutils/patches/patch-ai
@@ -0,0 +1,27 @@
+$NetBSD: patch-ai,v 1.1 2010/02/08 05:18:38 dholland Exp $
+
+DESTDIR support
+
+--- ../binutils-2.12.1/etc/Makefile.in.orig 2002-01-26 21:35:45.000000000 +0000
++++ ../binutils-2.12.1/etc/Makefile.in
+@@ -68,17 +68,17 @@ info:
+ done
+
+ install-info: info
+- $(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
++ $(SHELL) $(srcdir)/../mkinstalldirs ${DESTDIR}$(infodir)
+ if test ! -f standards.info; then cd $(srcdir); fi; \
+ if test -f standards.info; then \
+ for i in standards.info*; do \
+- $(INSTALL_DATA) $$i $(infodir)/$$i; \
++ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
+ done; \
+ fi
+ if test ! -f configure.info; then cd $(srcdir); fi; \
+ if test -f configure.info; then \
+ for i in configure.info*; do \
+- $(INSTALL_DATA) $$i $(infodir)/$$i; \
++ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
+ done; \
+ fi
+