From 96dc167a6faa5058667586071e42268f290afbed Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 14 Apr 2011 10:46:56 -0700 Subject: mkvalidator: fix 64-bit kernel builds --- Library/Formula/mkvalidator.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3