From 15a4e8d359b1b623dac84ea59372e290f4801478 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 20 Aug 2012 21:06:38 -0500 Subject: postgresql: don't call uuid-config if building without ossp-uuid Fixes #14314. Signed-off-by: Jack Nagel --- Library/Formula/postgresql.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Library/Formula/postgresql.rb') 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'" -- cgit v1.2.3