vapier      14/10/31 01:55:04

  Added:                newlib-2.1.0-msp430-destdir.patch
  Log:
  Add DESTDIR fix from upstream for msp430.
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.1                  sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/files/newlib-2.1.0-msp430-destdir.patch?rev=1.1&content-type=text/plain

Index: newlib-2.1.0-msp430-destdir.patch
===================================================================
>From 0a7009c61811b4451ff6cccda24f42ab07142603 Mon Sep 17 00:00:00 2001
From: DJ Delorie <[email protected]>
Date: Thu, 23 Oct 2014 01:49:45 +0000
Subject: [PATCH] 2014-10-22  Tim Harder  <[email protected]> *
 msp430/Makefile.in: respect DESTDIR during install

---
 libgloss/ChangeLog          | 4 ++++
 libgloss/msp430/Makefile.in | 6 ++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

2014-10-22  Tim Harder  <[email protected]>

        * msp430/Makefile.in: respect DESTDIR during install

diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
index d72051d..b9f5a6a 100644
--- a/libgloss/msp430/Makefile.in
+++ b/libgloss/msp430/Makefile.in
@@ -12,6 +12,7 @@
 
 # Makefile for libgloss/msp430.
 
+DESTDIR =
 VPATH = @srcdir@
 srcdir = @srcdir@
 objdir = .
@@ -138,11 +139,11 @@
 
 install: $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT) $(SCRIPTS)
        for c in $(CRT) $(SIM_BSP) $(LIBNOSYS) $(LIB_CRT); do \
-         $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
+         $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
        done
        for c in $(SCRIPTS); do \
          b=`basename $$c`; \
-         $(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
+         $(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\
        done
 
 clean mostlyclean:




Reply via email to