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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/postgres-xc.rb b/Library/Formula/postgres-xc.rb
index 8fdaa87f5..7bc039f53 100644
--- a/Library/Formula/postgres-xc.rb
+++ b/Library/Formula/postgres-xc.rb
@@ -46,13 +46,13 @@ class PostgresXc < Formula
"--with-libxml",
"--with-libxslt"]
- args << "--with-ossp-uuid" unless build.without? 'ossp-uuid'
+ args << "--with-ossp-uuid" if build.with? 'ossp-uuid'
args << "--with-python" if build.with? 'python'
args << "--with-perl" unless build.include? 'no-perl'
args << "--enable-dtrace" if build.include? 'enable-dtrace'
args << "ARCHFLAGS='-arch x86_64'"
- unless build.without? 'ossp-uuid'
+ if build.with? 'ossp-uuid'
ENV.append 'CFLAGS', `uuid-config --cflags`.strip
ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip
ENV.append 'LIBS', `uuid-config --libs`.strip