aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-14 09:39:18 -0700
committerAdam Vandenberg2011-04-14 10:27:09 -0700
commit5eeb241345fcd479b2fd9a684e1875311e1e84ed (patch)
tree343b5a4cf260e0518db062a26197cb941341e357 /Library/Formula
parentecab1e9173583b17197ad774aa9c18533dafd134 (diff)
downloadhomebrew-5eeb241345fcd479b2fd9a684e1875311e1e84ed.tar.bz2
mkclean: fix builds in 64-bit mode
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mkclean.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/mkclean.rb b/Library/Formula/mkclean.rb
index 5b6c42497..d33c72cb3 100644
--- a/Library/Formula/mkclean.rb
+++ b/Library/Formula/mkclean.rb
@@ -7,6 +7,12 @@ class Mkclean < Formula
def install
ENV.j1 # Otherwise there are races
+
+ # For 64-bit kernels, just use the Snow Leopard SDK.
+ inreplace "corec/tools/coremake/gcc_osx_x64.build" do |s|
+ s.gsub! /10\.4u?/, "10.6"
+ end
+
system "./configure"
system "make -C mkclean"
bindir = `corec/tools/coremake/system_output.sh`.chomp