From fa22e5aad5ae9e02d554ace99af9e9f1cafd8667 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 1 Jan 2017 13:21:15 +0000 Subject: [PATCH] gcc: use new method to avoid building info files. Closes #7999. Signed-off-by: Mike McQuaid --- Formula/gcc.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Formula/gcc.rb b/Formula/gcc.rb index cd32313b02..bd56bd2b2c 100644 --- a/Formula/gcc.rb +++ b/Formula/gcc.rb @@ -111,6 +111,11 @@ class Gcc < Formula languages -= ["java"] if build.head? + # Even when suffixes are appended, the info pages conflict when + # install-info is run so pretend we have an outdated makeinfo + # to prevent their build. + ENV["gcc_cv_prog_makeinfo_modern"] = "no" + args = [ "--build=#{arch}-apple-darwin#{osmajor}", "--prefix=#{prefix}", @@ -133,9 +138,6 @@ class Gcc < Formula "--disable-werror", "--with-pkgversion=Homebrew GCC #{pkg_version} #{build.used_options*" "}".strip, "--with-bugurl=https://github.com/Homebrew/homebrew-core/issues", - # Even when suffixes are appended, the info pages conflict when - # install-info is run. - "MAKEINFO=missing", ] # "Building GCC with plugin support requires a host that supports