From 615117ea6173fb2cf7fd68a47e66694dc653d00c Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 16 Sep 2014 10:41:02 -0700 Subject: postgres: find tcl on Xcode-only Fixes #32338. --- Library/Formula/postgresql.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library/Formula/postgresql.rb') diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index bde26e528..b3a01497c 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -65,7 +65,10 @@ class Postgresql < Formula args << "--with-python" if build.with? 'python' args << "--with-perl" unless build.include? 'no-perl' - args << "--with-tcl" unless build.include? 'no-tcl' + if !build.include? "no-tcl" + args << "--with-tcl" + args << "--with-tclconfig=#{MacOS.sdk_path}/usr/lib" + end args << "--enable-dtrace" if build.include? 'enable-dtrace' if build.with?("ossp-uuid") -- cgit v1.2.3