aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2014-09-16 10:41:02 -0700
committerMisty De Meo2014-09-16 10:43:31 -0700
commit615117ea6173fb2cf7fd68a47e66694dc653d00c (patch)
tree814a45302e7c54c99abe202563ccdfca6900f959 /Library
parentb5aa14e79b9afeb7b4b83b6e325c3e63081900aa (diff)
downloadhomebrew-615117ea6173fb2cf7fd68a47e66694dc653d00c.tar.bz2
postgres: find tcl on Xcode-only
Fixes #32338.
Diffstat (limited to 'Library')
-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")