aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgres-xc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/postgres-xc.rb')
-rw-r--r--Library/Formula/postgres-xc.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index f7f3e81af..b7b5f85be 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -1,23 +1,11 @@
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
-end
-
class PostgresXc < Formula
homepage 'http://postgres-xc.sourceforge.net/'
url 'http://sourceforge.net/projects/postgres-xc/files/Version_1.0/pgxc-v1.0.2.tar.gz'
sha1 'f427f37eb141ad9d00374fc1100a55dd09718fed'
- depends_on X86_64_Architecture
+ depends_on :arch => :x86_64
depends_on 'readline'
depends_on 'libxml2' if MacOS.version == :leopard # Leopard libxml is too old
depends_on 'ossp-uuid' => :recommended