OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.0 KiB

  1. #!/bin/sh -e
  2. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # Filename: package/.../uclibc/pkg_patch/binutils/300-001_ld_makefile_patch.patch
  6. # Copyright (C) 2006 - 2009 The OpenSDE Project
  7. # Copyright (C) 2004 - 2006 The T2 SDE Project
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. # --- SDE-COPYRIGHT-NOTE-END ---
  18. Description: correct where ld scripts are installed
  19. Original Author: Chris Chimelis <chris@debian.org>
  20. diff -ruN binutils-2.20.51.0.3-orig/ld/Makefile.am binutils-2.20.51.0.3/ld/Makefile.am
  21. --- binutils-2.20.51.0.3-orig/ld/Makefile.am 2009-11-11 17:53:31.000000000 +0100
  22. +++ binutils-2.20.51.0.3/ld/Makefile.am 2009-12-09 11:55:15.000000000 +0100
  23. @@ -24,7 +24,7 @@
  24. # We put the scripts in the directory $(scriptdir)/ldscripts.
  25. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  26. # directives need to be different for native and cross linkers.
  27. -scriptdir = $(tooldir)/lib
  28. +scriptdir = $(libdir)
  29. EMUL = @EMUL@
  30. EMULATION_OFILES = @EMULATION_OFILES@
  31. diff -ruN binutils-2.20.51.0.3-orig/ld/Makefile.in binutils-2.20.51.0.3/ld/Makefile.in
  32. --- binutils-2.20.51.0.3-orig/ld/Makefile.in 2009-11-11 17:53:31.000000000 +0100
  33. +++ binutils-2.20.51.0.3/ld/Makefile.in 2009-12-09 11:55:43.000000000 +0100
  34. @@ -335,7 +335,7 @@
  35. # We put the scripts in the directory $(scriptdir)/ldscripts.
  36. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  37. # directives need to be different for native and cross linkers.
  38. -scriptdir = $(tooldir)/lib
  39. +scriptdir = $(libdir)
  40. BASEDIR = $(srcdir)/..
  41. BFDDIR = $(BASEDIR)/bfd
  42. INCDIR = $(BASEDIR)/include