aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/pyqt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/pyqt.mk')
-rw-r--r--Mk/Uses/pyqt.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/pyqt.mk b/Mk/Uses/pyqt.mk
index 5d6003cc712c..2be0ff460f4b 100644
--- a/Mk/Uses/pyqt.mk
+++ b/Mk/Uses/pyqt.mk
@@ -209,6 +209,8 @@ QT_NONSTANDARD= yes # Do not add unknown arguments to CONFIGURE_ARGS.
# PyQt5's configure.py generates .pro files and calls qmake to generate the
# Makefiles. qmake's Makefiles use INSTALL_ROOT instead of DESTDIR.
DESTDIRNAME= INSTALL_ROOT
+# Limit PyQt5's version to the Qt5 version in ports
+PORTSCOUT?= limit:^${_QT_VERSION:R}
.endif
PATCHDIR= ${.CURDIR}/../../devel/${PYQT_RELNAME}-core/files