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.rb5
1 files changed, 4 insertions, 1 deletions
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")