diff options
| author | Mike McQuaid | 2011-05-18 16:12:27 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2011-05-18 17:04:00 +0100 |
| commit | f7e418fa273deba0fbcddb13913c157e8fa7c5b3 (patch) | |
| tree | 1d3d25aece483af66971978a89d6f629af0a2303 /Library | |
| parent | 58b7a5edbe88504b0e9fe80b92dc278035f856d8 (diff) | |
| download | homebrew-f7e418fa273deba0fbcddb13913c157e8fa7c5b3.tar.bz2 | |
Only apply Valgrind patch on Xcode 4.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/valgrind.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/valgrind.rb b/Library/Formula/valgrind.rb index a16da2bb7..4ffc00aca 100644 --- a/Library/Formula/valgrind.rb +++ b/Library/Formula/valgrind.rb @@ -1,4 +1,5 @@ require 'formula' +require 'utils' class Valgrind < Formula homepage 'http://www.valgrind.org/' @@ -15,7 +16,9 @@ class Valgrind < Formula def patches # Xcode 4 fix from upstream r11686 # https://bugs.kde.org/show_bug.cgi?id=267997 - { :p0 => DATA } + if MacOS.xcode_version >= "4.0.0" + { :p0 => DATA } + end end def install |
