aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-26 08:46:18 -0700
committerAdam Vandenberg2011-03-26 08:46:18 -0700
commit2b178b797d917f9b70e44fe050bf52d411a9e53d (patch)
tree3b155c9808923a23f99e81f2a9bada79fe951a68 /Library
parentd15aee6be8adc713bb8583c18fee380828b9c3a8 (diff)
downloadhomebrew-2b178b797d917f9b70e44fe050bf52d411a9e53d.tar.bz2
xchat: fix for core solo
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xchat.rb17
1 files changed, 11 insertions, 6 deletions
diff --git a/Library/Formula/xchat.rb b/Library/Formula/xchat.rb
index a8a9e18cd..0809ddbb9 100644
--- a/Library/Formula/xchat.rb
+++ b/Library/Formula/xchat.rb
@@ -10,12 +10,17 @@ class Xchat < Formula
depends_on 'gtk+'
def install
- system "./configure", "--prefix=#{prefix}",
- "--enable-openssl",
- "--disable-python",
- "--disable-xlib",
- "--disable-perl",
- "--disable-plugin"
+ args = ["--prefix=#{prefix}",
+ "--enable-openssl",
+ "--disable-python",
+ "--disable-xlib",
+ "--disable-perl",
+ "--disable-plugin"]
+
+ # Fails on 32-bit core solo without this
+ args << "--disable-mmx" unless MacOS.prefer_64_bit?
+
+ system "./configure", *args
system "make install"
rm_rf share+"applications"
rm_rf share+"pixmaps"