Hi,
IIRC, the reason that we need '=sys-devel/binutils-2.16*' for bootstrap
is that >=sys-devel/binutils-2.17 does not build if there is no texinfo
available somewhere in PATH.
Attached patch removes this requirement, although it seems to be
intentional by binutils-maintainers according to comments around the
patched Makefile-lines (seen in the patch).
Comments ?
/haubi/
--
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz
Index: binutils/files/binutils-2.17-noinfo.patch
===================================================================
--- binutils/files/binutils-2.17-noinfo.patch (revision 0)
+++ binutils/files/binutils-2.17-noinfo.patch (revision 0)
@@ -0,0 +1,111 @@
+diff -ru binutils-2.17.50.0.14.orig/bfd/Makefile.in binutils-2.17.50.0.14/bfd/Makefile.in
+--- binutils-2.17.50.0.14.orig/bfd/Makefile.in 2007-04-18 23:02:49.622635000 +0200
++++ binutils-2.17.50.0.14/bfd/Makefile.in 2007-04-18 23:03:00.242319000 +0200
+@@ -1293,7 +1293,7 @@
+ | LC_COLLATE= sort > tmp.bld \
+ && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
+
+-all diststuff: info
++diststuff: info
+
+ .PHONY: install-html install-html-am install-html-recursive
+
+diff -ru binutils-2.17.50.0.14.orig/bfd/doc/Makefile.in binutils-2.17.50.0.14/bfd/doc/Makefile.in
+--- binutils-2.17.50.0.14.orig/bfd/doc/Makefile.in 2007-04-18 23:02:48.242666000 +0200
++++ binutils-2.17.50.0.14/bfd/doc/Makefile.in 2007-04-18 23:03:00.572312000 +0200
+@@ -767,7 +767,7 @@
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install: install-info
++install:
+
+ install-html: install-html-am
+
+diff -ru binutils-2.17.50.0.14.orig/binutils/Makefile.in binutils-2.17.50.0.14/binutils/Makefile.in
+--- binutils-2.17.50.0.14.orig/binutils/Makefile.in 2007-04-18 23:00:45.996251000 +0200
++++ binutils-2.17.50.0.14/binutils/Makefile.in 2007-04-18 23:03:00.282317000 +0200
+@@ -1079,7 +1079,6 @@
+ $(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
+
+ diststuff: $(EXTRA_DIST) info
+-all: info
+
+ # Targets to rebuild dependencies in this Makefile.
+ # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
+diff -ru binutils-2.17.50.0.14.orig/binutils/doc/Makefile.in binutils-2.17.50.0.14/binutils/doc/Makefile.in
+--- binutils-2.17.50.0.14.orig/binutils/doc/Makefile.in 2007-04-18 23:00:45.456279000 +0200
++++ binutils-2.17.50.0.14/binutils/doc/Makefile.in 2007-04-18 23:03:00.582313000 +0200
+@@ -681,7 +681,7 @@
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install-data-local: install-info
++install-data-local:
+
+ install-html: install-html-am
+
+diff -ru binutils-2.17.50.0.14.orig/etc/Makefile.in binutils-2.17.50.0.14/etc/Makefile.in
+--- binutils-2.17.50.0.14.orig/etc/Makefile.in 2007-04-18 23:02:46.802695000 +0200
++++ binutils-2.17.50.0.14/etc/Makefile.in 2007-04-18 23:03:00.422313000 +0200
+@@ -58,8 +58,8 @@
+ DVIFILES = standards.dvi configure.dvi
+ HTMLFILES = standards.html configure.html
+
+-all: info
+-install: install-info
++all:
++install:
+
+ uninstall:
+
+diff -ru binutils-2.17.50.0.14.orig/gas/Makefile.in binutils-2.17.50.0.14/gas/Makefile.in
+--- binutils-2.17.50.0.14.orig/gas/Makefile.in 2007-04-18 23:01:46.694489000 +0200
++++ binutils-2.17.50.0.14/gas/Makefile.in 2007-04-18 23:03:00.452321000 +0200
+@@ -2474,7 +2474,6 @@
+ && mv tmp $(srcdir)/po/POTFILES.in
+
+ diststuff: $(EXTRA_DIST) info
+-all: info
+
+ # Stuff that every object file depends upon. If anything is removed
+ # from this list, remove it from dep-in.sed as well.
+diff -ru binutils-2.17.50.0.14.orig/gas/doc/Makefile.in binutils-2.17.50.0.14/gas/doc/Makefile.in
+--- binutils-2.17.50.0.14.orig/gas/doc/Makefile.in 2007-04-18 23:01:46.254489000 +0200
++++ binutils-2.17.50.0.14/gas/doc/Makefile.in 2007-04-18 23:03:00.592313000 +0200
+@@ -590,7 +590,7 @@
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install-data-local: install-info
++install-data-local:
+
+ install-html: install-html-am
+
+diff -ru binutils-2.17.50.0.14.orig/gprof/Makefile.in binutils-2.17.50.0.14/gprof/Makefile.in
+--- binutils-2.17.50.0.14.orig/gprof/Makefile.in 2007-04-18 23:00:59.975842000 +0200
++++ binutils-2.17.50.0.14/gprof/Makefile.in 2007-04-18 23:03:00.532336000 +0200
+@@ -878,7 +878,7 @@
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install-data-local: install-info
++install-data-local:
+
+ # Targets to rebuild dependencies in this Makefile.
+ # Have to get rid of DEP1 here so that "$?" later includes all sources.
+diff -ru binutils-2.17.50.0.14.orig/ld/Makefile.in binutils-2.17.50.0.14/ld/Makefile.in
+--- binutils-2.17.50.0.14.orig/ld/Makefile.in 2007-04-18 23:01:07.175633000 +0200
++++ binutils-2.17.50.0.14/ld/Makefile.in 2007-04-18 23:03:00.552318000 +0200
+@@ -2654,9 +2654,9 @@
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+-install-data-local: install-info
++install-data-local:
+ diststuff: info $(EXTRA_DIST)
+-all: info ld.1
++all: ld.1
+
+ # Both info (ld.info) and ld.1 depend on configdoc.texi.
+ # But info isn't a direct target. Make info-recursive to depend on
Index: binutils/binutils-2.17.50.0.14.ebuild
===================================================================
--- binutils/binutils-2.17.50.0.14.ebuild (revision 5558)
+++ binutils/binutils-2.17.50.0.14.ebuild (working copy)
@@ -11,3 +11,8 @@
# ARCH - packages to test before marking
KEYWORDS="~amd64 ~sparc-solaris ~x86 ~x86-solaris"
+
+src_unpack() {
+ toolchain-binutils_src_unpack
+ epatch ${FILESDIR}/binutils-2.17-noinfo.patch || die
+}