aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mkvalidator.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/mkvalidator.rb b/Library/Formula/mkvalidator.rb
index 6cc2338b1..c98730a48 100644
--- a/Library/Formula/mkvalidator.rb
+++ b/Library/Formula/mkvalidator.rb
@@ -7,6 +7,12 @@ class Mkvalidator < 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 mkvalidator"
bindir = `corec/tools/coremake/system_output.sh`.chomp