binutils: fix toolchain build with texinfo-5.x.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 8 Sep 2013 14:08:52 +0000 (16:08 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 8 Sep 2013 14:08:52 +0000 (16:08 +0200)
lfs/binutils

index bcfb0f2cb92c026fde9221c42a696298d226a900..08bc7c9b69a67ca1878253f9f5f31f0dcf25b15a 100644 (file)
@@ -116,6 +116,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) $(DIR_SRC)/binutils-build && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/binutils-2.22-pt-pax-flags-20111121.patch
 
+       # texinfo 5 syntax-fix.
+       cd $(DIR_APP) && sed -i -e "s/@colophon/@@colophon/" \
+                               -e "s/doc@cygnus/doc@@cygnus/" bfd/doc/bfd.texinfo
+
        @mkdir $(DIR_SRC)/binutils-build
 
        # Prevent installing libiberty to lib64.