2 ## 001_ld_makefile_patch.dpatch
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Description: correct where ld scripts are installed
6 ## DP: Author: Chris Chimelis <chris@debian.org>
7 ## DP: Upstream status: N/A
11 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
15 [ -f debian
/patches
/00patch-opts
] && . debian
/patches
/00patch-opts
16 patch_opts
="${patch_opts:--f --no-backup-if-mismatch}"
19 -patch) patch $patch_opts -p1 < $0;;
20 -unpatch) patch $patch_opts -p1 -R < $0;;
22 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
29 Index
: binutils-2.18
/ld
/Makefile.am
30 ===================================================================
31 --- binutils-2.18.orig
/ld
/Makefile.am
2007-06-28 09:19:34.837940280 +0200
32 +++ binutils-2.18
/ld
/Makefile.am
2007-06-28 09:19:35.795794664 +0200
34 # We put the scripts in the directory $(scriptdir)/ldscripts.
35 # We can't put the scripts in $(datadir) because the SEARCH_DIR
36 # directives need to be different for native and cross linkers.
37 -scriptdir = $
(tooldir
)/lib
38 +scriptdir
= $
(libdir
)
41 EMULATION_OFILES
= @EMULATION_OFILES@
42 Index
: binutils-2.18
/ld
/Makefile.
in
43 ===================================================================
44 --- binutils-2.18.orig
/ld
/Makefile.
in 2007-06-28 09:19:34.844939216 +0200
45 +++ binutils-2.18
/ld
/Makefile.
in 2007-06-28 09:19:35.796794512 +0200
47 # We put the scripts in the directory $(scriptdir)/ldscripts.
48 # We can't put the scripts in $(datadir) because the SEARCH_DIR
49 # directives need to be different for native and cross linkers.
50 -scriptdir = $
(tooldir
)/lib
51 +scriptdir
= $
(libdir
)
52 BASEDIR
= $
(srcdir
)/..
53 BFDDIR
= $
(BASEDIR
)/bfd
54 INCDIR
= $
(BASEDIR
)/include