diff options
| author | Adam Vandenberg | 2011-04-14 10:46:56 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-14 10:46:56 -0700 |
| commit | 96dc167a6faa5058667586071e42268f290afbed (patch) | |
| tree | 697197eb5b39f906ecf735fd919b161808185dac /Library | |
| parent | f44f9a5a99f11ddeeb4c1f22d5a7b06daeeee3d6 (diff) | |
| download | homebrew-96dc167a6faa5058667586071e42268f290afbed.tar.bz2 | |
mkvalidator: fix 64-bit kernel builds
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mkvalidator.rb | 6 |
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 |
