diff options
Diffstat (limited to 'Library/Formula/subversion.rb')
| -rw-r--r-- | Library/Formula/subversion.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index ae7b17f1a..09e33cfff 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -22,7 +22,7 @@ class Subversion < Formula depends_on 'pkg-config' => :build # On Snow Leopard, build a new neon. For Leopard, the deps above include this. - depends_on 'neon' if MACOS_VERSION >= 10.6 + depends_on 'neon' if MacOS.snow_leopard? def options [ @@ -82,7 +82,7 @@ class Subversion < Formula ENV.universal_binary if build_universal? - if MACOS_VERSION < 10.6 + if MacOS.leopard? setup_leopard else check_neon_arch if build_universal? @@ -122,14 +122,14 @@ class Subversion < Formula # Remove hard-coded ppc target, add appropriate ones if build_universal? arches = "-arch x86_64 -arch i386" - elsif MACOS_VERSION < 10.6 + elsif MacOS.leopard? arches = "-arch i386" else arches = "-arch x86_64" end # Use verison-appropriate system Perl - if MACOS_VERSION < 10.6 + if MacOS.leopard? perl_version = "5.8.8" else perl_version = "5.10.0" |
