pkgsrc/cross/h8300-hms-binutils/patches/patch-ai
2010-02-08 05:18:37 +00:00

27 lines
845 B
Text

$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