aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/bochs.rb10
1 files 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