From de0846dee9372aabc0293f988ea8a276b66abbae Mon Sep 17 00:00:00 2001 From: Tim D. Smith Date: Tue, 30 Sep 2014 21:12:10 -0700 Subject: bochs: build without libtool installed Closes #32832. Fixes #32828. --- Library/Formula/bochs.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Library/Formula/bochs.rb b/Library/Formula/bochs.rb index 79607ebc0..faf69d4ce 100644 --- a/Library/Formula/bochs.rb +++ b/Library/Formula/bochs.rb @@ -10,6 +10,10 @@ class Bochs < Formula depends_on 'gtk+' def install + # upstream Makefile bug + # https://github.com/Homebrew/homebrew/pull/32832#issuecomment-57586763 + inreplace "configure", 'if test "$have_ltdl" = 1', 'if 0' + system "./configure", "--prefix=#{prefix}", "--with-x11", "--enable-debugger", @@ -38,12 +42,6 @@ class Bochs < Formula "--with-term", "--enable-ne2000" - # See: http://sourceforge.net/p/bochs/discussion/39592/thread/9c22887c - inreplace 'config.h', 'define BX_HAVE_LTDL 1', 'define BX_HAVE_LTDL 0' - inreplace 'Makefile' do |s| - s.gsub! /\-lltdl/, 'ltdl.o' - end - system "make" system "make install" end -- cgit v1.2.3