aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-03-06 08:54:47 +0100
committerMike McQuaid2014-03-06 10:02:22 +0000
commitb4df7fce96791c72e8fb4c84a89258eea990117a (patch)
tree3eb29a330601c4e4937498945b9beb6b2512eaa4 /Library
parent0999ac53fbed4c3e181d98ba95c21222ba9ccc94 (diff)
downloadhomebrew-b4df7fce96791c72e8fb4c84a89258eea990117a.tar.bz2
qt5: add pkg-config build dependency
When pkg-config is not available at build-time, it is permanently disabled. This means qmake link_pkgconfig.prf will not work as documented even if pkg-config is available at run-time: https://qt-project.org/faq/answer/does_qmake_have_support_for_pkg-config Add a build-time dependency to the qt5 formula. Closes #27184. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt5.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb
index 236a3aaf8..714f3fbf3 100644
--- a/Library/Formula/qt5.rb
+++ b/Library/Formula/qt5.rb
@@ -31,6 +31,7 @@ class Qt5 < Formula
option 'with-docs', 'Build documentation'
option 'developer', 'Build and link with developer options'
+ depends_on "pkg-config" => :build
depends_on "d-bus" => :optional
depends_on "mysql" => :optional