diff options
| author | Misty De Meo | 2014-11-04 13:23:39 -0800 |
|---|---|---|
| committer | Misty De Meo | 2014-11-04 13:59:47 -0800 |
| commit | 0f80370be66ddcfcea7c9d2ea20dd331f32e3eb1 (patch) | |
| tree | 58454be6b81ad98d271b70d8e2fe91790dd9032c /Library/Formula/libtool.rb | |
| parent | 5eb5e4499c95d383b72143e9134d00946f3cddb4 (diff) | |
| download | homebrew-0f80370be66ddcfcea7c9d2ea20dd331f32e3eb1.tar.bz2 | |
libtool: fix universal build
Fixes #33893.
Closes #33911.
Diffstat (limited to 'Library/Formula/libtool.rb')
| -rw-r--r-- | Library/Formula/libtool.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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", |
