aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-10-14 13:16:02 +0100
committerMike McQuaid2012-10-14 13:16:36 +0100
commit69ecde6074cc4edbc505cba145e0c861054d93f0 (patch)
tree0ed4ca81a7b59b469f32927e46f5c61154565c9c /Library
parent18b600759cda7eb634d7cc7519d9718c38bcf8a2 (diff)
downloadhomebrew-69ecde6074cc4edbc505cba145e0c861054d93f0.tar.bz2
qt: depend on libpng.
Fixes #15450.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 3c8dc56cb..d2c6cf819 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -23,6 +23,8 @@ class Qt < Formula
option 'with-mysql', 'Enable MySQL plugin'
option 'developer', 'Compile and link Qt with developer options'
+ depends_on :libpng
+
depends_on "d-bus" if build.include? 'with-qtdbus'
depends_on "mysql" if build.include? 'with-mysql'
depends_on 'sqlite' if MacOS.version == :leopard
@@ -38,7 +40,7 @@ class Qt < Formula
def install
ENV.append "CXXFLAGS", "-fvisibility=hidden"
args = ["-prefix", prefix,
- "-system-zlib",
+ "-system-libpng", "-system-zlib",
"-confirm-license", "-opensource",
"-cocoa", "-fast" ]