aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgresql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/postgresql.rb')
-rw-r--r--Library/Formula/postgresql.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index 6a8cef425..343c43ba1 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -43,9 +43,11 @@ class Postgresql < Formula
args << "--with-perl" unless build.include? 'no-perl'
args << "--enable-dtrace" if build.include? 'enable-dtrace'
- ENV.append 'CFLAGS', `uuid-config --cflags`.strip
- ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip
- ENV.append 'LIBS', `uuid-config --libs`.strip
+ unless build.include? 'without-ossp-uuid'
+ ENV.append 'CFLAGS', `uuid-config --cflags`.strip
+ ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip
+ ENV.append 'LIBS', `uuid-config --libs`.strip
+ end
if not build.build_32_bit? and MacOS.prefer_64_bit? and not build.include? 'no-python'
args << "ARCHFLAGS='-arch x86_64'"