aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/icu4c.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-07 21:04:37 -0700
committerAdam Vandenberg2010-08-22 20:11:03 -0700
commit31f1fabd032c7546417c2b5a4e5b874831b32aaa (patch)
treeafa64652cf90d79c3cb2110e092eabcc5b9f5962 /Library/Formula/icu4c.rb
parent2bc91fd69a3fa7e71d7df245cd07901afa0ed0a7 (diff)
downloadhomebrew-31f1fabd032c7546417c2b5a4e5b874831b32aaa.tar.bz2
Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for: MACOS_VERSION >= 10.6 and Hardware.is_64_bit? Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/icu4c.rb')
-rw-r--r--Library/Formula/icu4c.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/icu4c.rb b/Library/Formula/icu4c.rb
index 7b9b6b408..2ee1e40e1 100644
--- a/Library/Formula/icu4c.rb
+++ b/Library/Formula/icu4c.rb
@@ -15,7 +15,7 @@ class Icu4c <Formula
def install
ENV.append "LDFLAGS", "-headerpad_max_install_names"
config_flags = ["--prefix=#{prefix}", "--disable-samples", "--enable-static"]
- config_flags << "--with-library-bits=64" if Hardware.is_64_bit? and MACOS_VERSION == 10.6
+ config_flags << "--with-library-bits=64" if snow_leopard_64?
Dir.chdir "source" do
system "./configure", *config_flags
system "make"