aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-05-18 12:27:43 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-05-18 12:27:43 +0000
commit70141f1a3ab47238520955db870f6e9a5a5d4103 (patch)
tree783c9065a947687b97911fc572d2fd9079551afb /Mk
parent57824870548ec1b67b5b4691d7e9c16ca63ada69 (diff)
downloadports-70141f1a3ab47238520955db870f6e9a5a5d4103.tar.gz
ports-70141f1a3ab47238520955db870f6e9a5a5d4103.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.qt.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk
index b65823ece023..551c43f62a88 100644
--- a/Mk/bsd.qt.mk
+++ b/Mk/bsd.qt.mk
@@ -27,7 +27,7 @@ Qt_Pre_Include= bsd.qt.mk
# Qt versions currently supported by the framework.
_QT_SUPPORTED?= 4 5
QT4_VERSION?= 4.8.7
-QT5_VERSION?= 5.9.4
+QT5_VERSION?= 5.10.1
_QT_RELNAME= qt${_QT_VERSION:R:R}
_QT_VERSION= # empty
@@ -68,7 +68,12 @@ DISTNAME= qt-everywhere-opensource-src-${_QT_VERSION}
DIST_SUBDIR= KDE
. else
MASTER_SITE_SUBDIR?= official_releases/qt/${_QT_VERSION:R}/${_QT_VERSION}/submodules/
+# www/qt5-webengine hackery: The tarballs of 5.9.5 had a different naming scheme.
+. if ${QT5_VERSION} == "5.9.5"
DISTNAME= ${QT_DIST:S,^,qt,:S,$,-opensource-src-${DISTVERSION},}
+. else
+DISTNAME= ${QT_DIST:S,^,qt,:S,$,-everywhere-src-${DISTVERSION},}
+. endif
DISTFILES= ${DISTNAME:S,$,${EXTRACT_SUFX},}
DIST_SUBDIR= KDE/Qt/${_QT_VERSION}
@@ -93,7 +98,7 @@ QT_DIST= 3d activeqt androidextras base canvas3d charts connectivity \
location macextras multimedia networkauth purchasing \
quickcontrols2 quickcontrols remoteobjects script scxml sensors \
serialbus serialport speech svg tools translations \
- virtualkeyboard wayland webchannel webengine websockets webview \
+ virtualkeyboard wayland webchannel websockets webview \
winextras x11extras xmlpatterns
. endif
. endif