aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim D. Smith2014-09-30 21:12:10 -0700
committerTim D. Smith2014-10-08 00:05:28 -0700
commitde0846dee9372aabc0293f988ea8a276b66abbae (patch)
treea799f5110012762d1df5f1ce6c1a57f62ce295cd
parent558f6e1369826290ac88f645ea9649b0878c18c0 (diff)
downloadhomebrew-de0846dee9372aabc0293f988ea8a276b66abbae.tar.bz2
bochs: build without libtool installed
Closes #32832. Fixes #32828.
-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