aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicoIGN2014-09-18 16:30:55 +0200
committerMike McQuaid2014-09-18 16:19:49 +0100
commit48342c913a747d16a4741ad8e036608a877555d1 (patch)
tree4c5649988c11709e2b66232c7e306b329c777d15
parent091cd53e2d1939311143f57421c89c1c6607e8c2 (diff)
downloadhomebrew-48342c913a747d16a4741ad8e036608a877555d1.tar.bz2
qt: add optional postgresql support.
Closes #32397. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/qt.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 16fd4ec29..1f848c314 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -32,6 +32,7 @@ class Qt < Formula
depends_on "d-bus" => :optional
depends_on "mysql" => :optional
+ depends_on "postgresql" => :optional
def install
ENV.universal_binary if build.universal?
@@ -54,6 +55,7 @@ class Qt < Formula
end
args << "-plugin-sql-mysql" if build.with? 'mysql'
+ args << "-plugin-sql-psql" if build.with? 'postgresql'
if build.with? 'd-bus'
dbus_opt = Formula["d-bus"].opt_prefix