diff options
| author | Adam Vandenberg | 2013-07-19 10:41:18 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-19 10:41:18 -0700 |
| commit | 1fa52169510784b5d40162e35632591470cc4a34 (patch) | |
| tree | 7fdc4d32683127c2186b9584f6692dcd4294f888 /Library/Formula | |
| parent | a2223af0f220593e7464edb1386cf7f4ec8bc6c0 (diff) | |
| download | homebrew-1fa52169510784b5d40162e35632591470cc4a34.tar.bz2 | |
postgresql: tcl is optional
Closes #21099.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/postgresql.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index e44db834b..5f8b0a616 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -5,6 +5,11 @@ class Postgresql < Formula url 'http://ftp.postgresql.org/pub/source/v9.2.4/postgresql-9.2.4.tar.bz2' sha1 '75b53c884cb10ed9404747b51677358f12082152' + option '32-bit' + option 'no-perl', 'Build without Perl support' + option 'no-tcl', 'Build without Tcl support' + option 'enable-dtrace', 'Build with DTrace support' + depends_on 'readline' depends_on 'libxml2' if MacOS.version <= :leopard # Leopard libxml is too old depends_on 'ossp-uuid' => :recommended @@ -13,10 +18,6 @@ class Postgresql < Formula conflicts_with 'postgres-xc', :because => 'postgresql and postgres-xc install the same binaries.' - option '32-bit' - option 'no-perl', 'Build without Perl support' - option 'enable-dtrace', 'Build with DTrace support' - fails_with :clang do build 211 cause 'Miscompilation resulting in segfault on queries' @@ -43,7 +44,6 @@ class Postgresql < Formula --with-ldap --with-openssl --with-pam - --with-tcl --with-libxml --with-libxslt ] @@ -51,6 +51,7 @@ class Postgresql < Formula args << "--with-ossp-uuid" if build.with? 'ossp-uuid' args << "--with-python" if build.with? 'python' args << "--with-perl" unless build.include? 'no-perl' + args << "--with-tcl" unless build.include? 'no-tcl' args << "--enable-dtrace" if build.include? 'enable-dtrace' if build.with? 'ossp-uuid' |
