# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../gdb/installed-by-binutils.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

Do not install the bfd and obcode libraries and/or other files -
the binutils package supplies them.

  - Clifford Wolf & Rene Rebe
  - rediffed for gdb 6.3 by Valentin Ziegler
  - re-rediffed for gdb 6.4 by Rene Rebe
  - re-rediffed for gdb 6.5 by Aldas Nabazas

diff -Nur gdb-6.5-orig/bfd/Makefile.in gdb-6.5/bfd/Makefile.in
--- gdb-6.5-orig/bfd/Makefile.in	2006-04-19 12:09:42.000000000 +0000
+++ gdb-6.5/bfd/Makefile.in	2006-06-23 14:25:06.000000000 +0000
@@ -257,7 +257,7 @@
 INCDIR = $(srcdir)/../include
 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
 MKDEP = gcc -MM
-SUBDIRS = doc po
+SUBDIRS = doc
 bfddocdir = doc
 bfdlib_LTLIBRARIES = libbfd.la
 AM_CFLAGS = $(WARN_CFLAGS)
@@ -1158,7 +1158,7 @@
 	for dir in "$(DESTDIR)$(bfdlibdir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
-install: install-recursive
+install: 
 install-exec: install-exec-recursive
 install-data: install-data-recursive
 uninstall: uninstall-recursive
diff -Nur gdb-6.5-orig/etc/Makefile.in gdb-6.5/etc/Makefile.in
--- gdb-6.5-orig/etc/Makefile.in	2006-04-06 21:49:30.000000000 +0000
+++ gdb-6.5/etc/Makefile.in	2006-06-23 14:25:24.000000000 +0000
@@ -59,7 +59,7 @@
 HTMLFILES = standards.html configure.html
 
 all: info
-install: install-info
+install: 
 
 uninstall:
 
diff -Nur gdb-6.5-orig/libiberty/Makefile.in gdb-6.5/libiberty/Makefile.in
--- gdb-6.5-orig/libiberty/Makefile.in	2006-04-07 00:01:25.000000000 +0000
+++ gdb-6.5/libiberty/Makefile.in	2006-06-23 14:27:47.000000000 +0000
@@ -330,7 +330,8 @@
 @MAINT@	echo stamp > stamp-functions
 
 INSTALL_DEST = @INSTALL_DEST@
-install: install_to_$(INSTALL_DEST) install-subdir
+install: 
+#install: install_to_$(INSTALL_DEST) install-subdir
 
 install_to_libdir: all
 	${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
diff -Nur gdb-6.5-orig/opcodes/Makefile.in gdb-6.5/opcodes/Makefile.in
--- gdb-6.5-orig/opcodes/Makefile.in	2006-04-19 12:10:21.000000000 +0000
+++ gdb-6.5/opcodes/Makefile.in	2006-06-23 14:26:48.000000000 +0000
@@ -231,7 +231,7 @@
 target_os = @target_os@
 target_vendor = @target_vendor@
 AUTOMAKE_OPTIONS = 1.9 cygnus
-SUBDIRS = po
+SUBDIRS = 
 INCDIR = $(srcdir)/../include
 BFDDIR = $(srcdir)/../bfd
 MKDEP = gcc -MM
@@ -837,7 +837,7 @@
 	for dir in "$(DESTDIR)$(bfdlibdir)"; do \
 	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
 	done
-install: install-recursive
+install: 
 install-exec: install-exec-recursive
 install-data: install-data-recursive
 uninstall: uninstall-recursive