From 362a1268a26b6a785f4beb50e445248da1229ea0 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 30 Apr 2013 09:34:36 -0700 Subject: bochs: apply suggested ltdl patch Closes #17738. --- Library/Formula/bochs.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/bochs.rb b/Library/Formula/bochs.rb index 2191e7540..59326febf 100644 --- a/Library/Formula/bochs.rb +++ b/Library/Formula/bochs.rb @@ -38,6 +38,12 @@ 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