From 0f80370be66ddcfcea7c9d2ea20dd331f32e3eb1 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 4 Nov 2014 13:23:39 -0800 Subject: libtool: fix universal build Fixes #33893. Closes #33911. --- Library/Formula/libtool.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Library') diff --git a/Library/Formula/libtool.rb b/Library/Formula/libtool.rb index a3fb7bfc9..e79afacfd 100644 --- a/Library/Formula/libtool.rb +++ b/Library/Formula/libtool.rb @@ -28,6 +28,15 @@ class Libtool < Formula def install ENV.universal_binary if build.universal? + + # Fix an issue with building universal; fixed upstream: + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18942 + # Need to touch the manpages after editing to prevent + # the buildsystem from thinking they need to be rebuilt. + inreplace Dir["build-aux/ltmain.{in,sh}"], + '$SED -e "$basename"', '$SED -e "$sed_basename"' + Dir["doc/*.1"].each {|f| touch f} + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--program-prefix=g", -- cgit v1.2.3