aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/postgres-xc.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index cd54be457..541fcd260 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -20,12 +20,11 @@ class PostgresXc < Formula
depends_on X86_64_Architecture
depends_on 'readline'
depends_on 'libxml2' if MacOS.version == :leopard # Leopard libxml is too old
- depends_on 'ossp-uuid' unless build.include? 'without-ossp-uuid'
+ depends_on 'ossp-uuid' => :recommended
conflicts_with 'postgresql',
:because => 'postgres-xc and postgresql install the same binaries.'
- option 'without-ossp-uuid', 'Build without OSSP uuid'
option 'no-python', 'Build without Python support'
option 'no-perl', 'Build without Perl support'
option 'enable-dtrace', 'Build with DTrace support'
@@ -56,13 +55,13 @@ class PostgresXc < Formula
"--with-libxml",
"--with-libxslt"]
- args << "--with-ossp-uuid" unless build.include? 'without-ossp-uuid'
+ args << "--with-ossp-uuid" unless build.without? 'ossp-uuid'
args << "--with-python" unless build.include? 'no-python'
args << "--with-perl" unless build.include? 'no-perl'
args << "--enable-dtrace" if build.include? 'enable-dtrace'
args << "ARCHFLAGS='-arch x86_64'"
- unless build.include? 'without-ossp-uuid'
+ unless build.without? 'ossp-uuid'
ENV.append 'CFLAGS', `uuid-config --cflags`.strip
ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip
ENV.append 'LIBS', `uuid-config --libs`.strip