patches/binutils/2.17.50.0.10/300-001_ld_makefile_patch.patch
changeset 402 197e1b49586e
parent 401 5baf14e56890
child 403 5c2145db8f0f
     1.1 --- a/patches/binutils/2.17.50.0.10/300-001_ld_makefile_patch.patch	Sat Sep 22 17:25:42 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,50 +0,0 @@
     1.4 -#!/bin/sh -e
     1.5 -## 001_ld_makefile_patch.dpatch
     1.6 -##
     1.7 -## All lines beginning with `## DP:' are a description of the patch.
     1.8 -## DP: Description: correct where ld scripts are installed
     1.9 -## DP: Author: Chris Chimelis <chris@debian.org>
    1.10 -## DP: Upstream status: N/A
    1.11 -## DP: Date: ??
    1.12 -
    1.13 -if [ $# -ne 1 ]; then
    1.14 -    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    1.15 -    exit 1
    1.16 -fi
    1.17 -
    1.18 -[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
    1.19 -patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
    1.20 -
    1.21 -case "$1" in
    1.22 -       -patch) patch $patch_opts -p1 < $0;;
    1.23 -       -unpatch) patch $patch_opts -p1 -R < $0;;
    1.24 -        *)
    1.25 -                echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    1.26 -                exit 1;;
    1.27 -esac
    1.28 -
    1.29 -exit 0
    1.30 -
    1.31 -@DPATCH@
    1.32 ---- binutils-2.16.91.0.1/ld/Makefile.am
    1.33 -+++ binutils-2.16.91.0.1/ld/Makefile.am
    1.34 -@@ -20,7 +20,7 @@
    1.35 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    1.36 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    1.37 - # directives need to be different for native and cross linkers.
    1.38 --scriptdir = $(tooldir)/lib
    1.39 -+scriptdir = $(libdir)
    1.40 - 
    1.41 - EMUL = @EMUL@
    1.42 - EMULATION_OFILES = @EMULATION_OFILES@
    1.43 ---- binutils-2.16.91.0.1/ld/Makefile.in
    1.44 -+++ binutils-2.16.91.0.1/ld/Makefile.in
    1.45 -@@ -268,7 +268,7 @@
    1.46 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    1.47 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    1.48 - # directives need to be different for native and cross linkers.
    1.49 --scriptdir = $(tooldir)/lib
    1.50 -+scriptdir = $(libdir)
    1.51 - BASEDIR = $(srcdir)/..
    1.52 - BFDDIR = $(BASEDIR)/bfd
    1.53 - INCDIR = $(BASEDIR)/include