diff options
| author | Misty De Meo | 2014-09-16 10:41:02 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-09-16 10:43:31 -0700 |
| commit | 615117ea6173fb2cf7fd68a47e66694dc653d00c (patch) | |
| tree | 814a45302e7c54c99abe202563ccdfca6900f959 | |
| parent | b5aa14e79b9afeb7b4b83b6e325c3e63081900aa (diff) | |
| download | homebrew-615117ea6173fb2cf7fd68a47e66694dc653d00c.tar.bz2 | |
postgres: find tcl on Xcode-only
Fixes #32338.
| -rw-r--r-- | Library/Formula/postgresql.rb | 5 |
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") |
