pyqt5: specify qt5 qmake

Fixes Homebrew/homebrew#27058.
Closes Homebrew/homebrew#27059.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Jens H. Nielsen 2014-02-28 08:45:18 +00:00 committed by Mike McQuaid
parent 615140e5b7
commit 6cc58b31dc
1 changed files with 3 additions and 0 deletions

View File

@ -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'