aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgres-xc.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-19 20:45:59 -0600
committerJack Nagel2013-01-21 17:36:34 -0600
commit3ad7174f7d3cad94a67338b404fdc220fd2f2e8e (patch)
tree1ad337f60b86a951544ffce6e1b9fa2d8eb0e707 /Library/Formula/postgres-xc.rb
parentb48e89cbb2a14a935626c64f5e19044bc2b08d85 (diff)
downloadhomebrew-3ad7174f7d3cad94a67338b404fdc220fd2f2e8e.tar.bz2
Use new requirement syntax
Diffstat (limited to 'Library/Formula/postgres-xc.rb')
-rw-r--r--Library/Formula/postgres-xc.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index c130ebea0..4179df26b 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -3,14 +3,13 @@ require 'formula'
class X86_64_Architecture < Requirement
fatal true
+ satisfy MacOS.prefer_64_bit?
+
def message; <<-EOS.undent
Your system appears to run on a 32-bit architecture.
Postgres-XC only supports 64-bit architectures, sorry.
EOS
end
- def satisfied?
- MacOS.prefer_64_bit?
- end
end
class PostgresXc < Formula