diff options
| author | Jens H. Nielsen | 2014-02-28 08:45:18 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-28 08:45:53 +0000 |
| commit | 9505e169debfb648670be110b2e2533deaaef6fa (patch) | |
| tree | 389afe1dc6144d62b03ed55b7f2c5b166b55fb25 /Library/Formula | |
| parent | 6bc3b2b02fa9b6e672c411521c1f6e23d1f7ca9d (diff) | |
| download | homebrew-9505e169debfb648670be110b2e2533deaaef6fa.tar.bz2 | |
pyqt5: specify qt5 qmake
Fixes #27058.
Closes #27059.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyqt5.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/pyqt5.rb b/Library/Formula/pyqt5.rb index b70095d8c..59b621942 100644 --- a/Library/Formula/pyqt5.rb +++ b/Library/Formula/pyqt5.rb @@ -47,6 +47,9 @@ class Pyqt5 < Formula "--sipdir=#{share}/sip/Qt5/", # sip.h could not be found automatically "--sip-incdir=#{Formula["sip"].opt_prefix}/include", + # Make sure the qt5 version of qmake is found. + # If qt4 is linked it will pickup that version otherwise. + "--qmake=#{Formula["qt5"].bin}/qmake", # Force deployment target to avoid libc++ issues "QMAKE_MACOSX_DEPLOYMENT_TARGET=#{MacOS.version}" ] args << '--debug' if build.include? 'enable-debug' |
