From 3ad7174f7d3cad94a67338b404fdc220fd2f2e8e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 19 Jan 2013 20:45:59 -0600 Subject: Use new requirement syntax --- Library/Formula/postgres-xc.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library/Formula/postgres-xc.rb') 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 -- cgit v1.2.3