diff options
| author | Stefan Hajnoczi | 2014-03-06 08:54:47 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-06 10:02:22 +0000 |
| commit | b4df7fce96791c72e8fb4c84a89258eea990117a (patch) | |
| tree | 3eb29a330601c4e4937498945b9beb6b2512eaa4 /Library/Formula | |
| parent | 0999ac53fbed4c3e181d98ba95c21222ba9ccc94 (diff) | |
| download | homebrew-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/Formula')
| -rw-r--r-- | Library/Formula/qt5.rb | 1 |
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 |
