From 5eeb241345fcd479b2fd9a684e1875311e1e84ed Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 14 Apr 2011 09:39:18 -0700 Subject: mkclean: fix builds in 64-bit mode --- Library/Formula/mkclean.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3