Skip to content

Commit

Permalink
postgresql: tcl is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Jul 19, 2013
1 parent a2223af commit 1fa5216
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Library/Formula/postgresql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Postgresql < Formula
url 'http:https://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
Expand All @@ -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'
Expand All @@ -43,14 +44,14 @@ def install
--with-ldap
--with-openssl
--with-pam
--with-tcl
--with-libxml
--with-libxslt
]

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'
Expand Down

0 comments on commit 1fa5216

Please sign in to comment.