<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c82ebd593c8279fc4f10038f28cd8b411882d241">https://github.com/macports/macports-ports/commit/c82ebd593c8279fc4f10038f28cd8b411882d241</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c82ebd5 qt56: new port and associated subports
</span>c82ebd5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c82ebd593c8279fc4f10038f28cd8b411882d241
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Mar 11 04:52:30 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt56: new port and associated subports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Qt 5.6 is the last version that can build on Mac OS X 10.7
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/ticket/51801
</span>---
_resources/port1.0/group/qt5-1.0.tcl | 1 +
aqua/qt56/Portfile | 1646 ++++++++++++++++++++++
aqua/qt56/files/patch-add_sdk.diff | 33 +
aqua/qt56/files/patch-bluetooth.diff | 12 +
aqua/qt56/files/patch-configure.diff | 11 +
aqua/qt56/files/patch-deployment_target.diff | 24 +
aqua/qt56/files/patch-firstObject.diff | 15 +
aqua/qt56/files/patch-fontconfig.diff | 29 +
aqua/qt56/files/patch-icu.diff | 38 +
aqua/qt56/files/patch-machtest.diff | 15 +
aqua/qt56/files/patch-macx.conf.diff | 10 +
aqua/qt56/files/patch-mkspecs.diff | 104 ++
aqua/qt56/files/patch-mkspecs_compiler.diff | 13 +
aqua/qt56/files/patch-no_qtwebkit.diff | 20 +
aqua/qt56/files/patch-pc_files.diff | 15 +
aqua/qt56/files/patch-qnetworkproxy_mac.cpp.diff | 11 +
aqua/qt56/files/patch-qtconn-for-10.12.diff | 68 +
aqua/qt56/files/patch-shared.diff | 11 +
aqua/qt56/files/patch-tst_benchlibcallgrind.diff | 14 +
aqua/qt56/files/patch-tst_qpluginloader.diff | 20 +
20 files changed, 2110 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qt5-1.0.tcl b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 7514fdb..91599fc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +39,7 @@ options qt5.using_kde qt5.base_version
</span> global available_qt_versions
set available_qt_versions {
qt5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt56
</span> qt55
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/Portfile b/aqua/qt56/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0dd271a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,1646 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name qt56
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers mcalhoun openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for OpenSSLException, see source and header files in src/network/ssl of qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {LGPL-2.1 LGPL-3 GPL-3 OpenSSLException}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://qt.io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.6.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_name ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set just_want_qt5_variables yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset just_want_qt5_variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# get Qt's version numbers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt builds differently when it detects C++-11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/official_releases/qt/${branch}/${version}/submodules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/community_releases/${branch}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# file sizes are significantly smaller using xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} ne ${name} && ${subport} ne "${name}-docs" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts qt3 qt3-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# conflict with all other version of qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach test_qt_name ${available_qt_versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${name} ne ${test_qt_name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string range ${test_qt_name} end-3 end] eq "-kde" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append ${test_qt_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append ${test_qt_name}-qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Modules Not Considered
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwayland (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtx11extras (X11 Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwinextras (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Finding Dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r "%dependencies" *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name sync.profile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r qtCompileTest *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name config.tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name Find\*.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Notes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity checks for bluetooth libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# bluez and bluez_le (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtserialport depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ntddmodm (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qttools depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtwebkit has tests for libraries in:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/mkspecs/features/configure.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/config.tests/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### TODO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: possible to trim dependencies of qtbase?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Module Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "Qt Module Name" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, rmd160
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, sha256
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, Qt module name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt components provided
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# included in "standard" installation of Qt (empty string is no, explanation string is yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant overrides
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# revision number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# license replacement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# module info found at https://doc.qt.io/qt-5/qtmodules.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set modules {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0bba8e3553b1d4fe603f1d2fde2f8e3626e87288
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a21786db6e0f5c6c70213fe1a3530ed3d7f28f28401a0f793970e9bc860ce941
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:assimp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtimageformats"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt3D Core" "Qt3D Input" "Qt3D Logic" "Qt3D Renderer"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview modules"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtbase {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 55b2d2d9474cb565e872eed1ab0e8e01bf5031a8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg port:fontconfig port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:libiconv port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Gui" "Qt Widgets" "Qt Print Support" "Qt OpenGL" "Qt Core" "Qt XML" "Qt SQL" "Qt Network" "Qt Test" "Qt D-Bus" "Qt Concurrent" "Qt Platform Headers"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtcanvas3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 12e5460320bd6e7fbe01d85a8f39e24e4ca9a74d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d7584d006b03f99692ccabce922e755a6f12bb1ed1fbc99c2b84842b9e0aa0ad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Canvas 3D"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtconnectivity {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 6b4645eaa4fe4cb1e725e2bc445a8909cc470af6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1b672923e0703d62f605ccec97b454b1a04c1f0db47f54b687d009e84eabedf9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Bluetooth" "Qt NFC"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtenginio {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c62811096a313efde96c034673a2bc047419a6d2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 90ffc38d214a75ab0ef90a4760843f12bc073ae49c17de24c677d1d403bddcc3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Enginio"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3c35a848052f0e228b838ed1277ff53165b33c6a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0086a986bc36b398ba518c404d08cdff0a0d7978c30aa3fa2ab73d71654209da
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt QML" "Qt Quick" "Qt Quick Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdoc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a2695d89272018607deb33215d03b8793a3c2a12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f6691eeaa9954f6990c744d246f4fe5a9bdd9936aa78d187e98c12795761e868
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qttools sqlite-plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Reference Documentation"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "requires all documentation"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtgraphicaleffects {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c2b77a5ce9b33d85bb50aa722c8de9645c40e99c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1e9f0fac2c72a812d396db74b2d9d12f513d2ec9135d5982ca85aee7f00be75e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Graphical Effects"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtimageformats {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4abf0b602430b199e6bfa35ce079c9d48dd584ea
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4fb153be62dac393cbcebab65040b3b9d6edecd1ebbe5e543401b0e45bd147e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:jasper port:libmng port:tiff port:webp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Image Formats"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtlocation {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a0fa5fad9541a2d7c98392b77ed9ae6b49a00800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7a8995206ed0220f943a33c037527a1a8243d5386f5ca77bf88152675c28d23a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtquickcontrols qtserialport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Location" "Qt Positioning"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bb4ca30a9880f5b0d37dc5ce5b1acde0c6489d2f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 855263a9f3daea67eee57a16b6f877d0f4096eb731f9e0f0fd8eee87dbc19015
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Mac Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmultimedia {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 772af0d21129d9a53e677e6aa3fbbaf46c6ba28e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cb9a70a7c6c0eb5be4a3fcaf9590863479e95a255308bbf07d5b7aa303bb8caf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Multimedia" "Qt Multimedia Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquickcontrols {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4ced8969881294afd022bca40da84be4d5f2e32e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5ed0f2292be10222dfb1b57a05472798fd759279f65455d91c02ef4fb746102c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns qtgraphicaleffects"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Quick Controls" "Qt Quick Dialogs" "Qt Quick Layouts" "Qt Quick Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquickcontrols2 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0ba46bb90e625e590ebfa14cef7112244e37c9e9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 09dc1710aa4701aebe145829eb99bab94d0870cf578f7dddcec0af92286dfec1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtquickcontrols qtgraphicaleffects"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Labs Controls"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview module"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscript {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 57a0edd3199a5e93e0eb71be8e98f8c57886444b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e06ef6b271cae2187b57cd4ffdd6759428fd47f94a060e2ed2af024a8c14110e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Script" "Qt Script Tools"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deprecated in favor QJS* in Qt QML"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsensors {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 329ea8fc1d4bac44902b79ec666ed5231fea6c8d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a7809081aab4f2f0d7a4f40c3abb02e1690bb390d1dd410d7c6c5019a5053427
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Sensors"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtserialbus {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 352bba29042cc4ea4d2ad5b0b3eaa8e2797181da
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b39260091691532382935ed51de9ead8e66cfb5f7a6e5410c17cd0695ccaf826
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtserialport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Serial Bus"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview module"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtserialport {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5720c53ca1df11c99671a6ad28bc8415be895daf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ af76281bad2c2bd283189635316b46091f6712134b845ae1b9e3016eec94f376
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Serial Port"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d7cf472f55d616947b4b7f3cc9c6321aaeaf86de
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f7a361bf661b31ae7779513559dd0b774171911bc57f5cfb6bed6878ddc8bc4e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt SVG"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttools {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ be6defa428764023910ee36097dd708c2faa4888
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative sqlite-plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Help" "Qt UI Tools" "Qt Designer"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttranslations {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7ad0fb2b75674ae08921e7793135b17b6d4c40e5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7d793b447c1673206e0c5512883ad1435554dbaebf2152475b6d4a7ba6efa421
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qttools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"translation files"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebchannel {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 835a31720a47769116e241f5b08bfa78cc2fd4a7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 700efdef5f51bdb77093f4db212afe275ad35a710ea08ba0e9e9cbc8f09f1a52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtwebsockets qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebChannel"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebengine {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 442da681b949e3cd0216e29f38d53ec5f1c646e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2f0a1648e1a8b22bad0134f2b37d69d185074393c398c1a3c6a83b910ff39740
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27 port:py27-ply"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtxmlpatterns qtquickcontrols qtwebchannel"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebEngine" "Qt WebEngine Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "very large and relatively new; requires newer version of OS X"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~universal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebkit {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 84ccf4ee1448b29ac967ca51e0dabc2ab2c48bbc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 528a6b8b1c5095367b26e8ce4f3a46bb739e2e9913ff4dfc6ef58a04fcd73966
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:fontconfig port:icu port:leveldb port:webp port:libxml2 port:libxslt port:zlib port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtxmlpatterns qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebKit" "Qt WebKit Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "community support only (use Qt WebEngine)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebsockets {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ea47648c15f032b45deac9ea841048a958763550
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3cd9d4bbff8e6be5e252f00fc9ecb9ac2d8a193020288c7d1e82583daeb5ba35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebSockets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebview {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b5c91572de5a45f844829a8173678c6df88f6da2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5a7a36cedcbb5f737357d11b7e856d69f7f3dea11a3636bd413cf47038e951d6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtwebengine"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebView"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "new in 5.6.0; requires qtwebengine"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~universal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtxmlpatterns {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c8a49d54736c571b39515d349da51a3e6bdef384
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7c6df3eebf188d8ce6822a22cebbc63da5ac27047cf1bd7236d5b988244782cc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt XML Patterns"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### SQL Plugin Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency, library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# include path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# link requirement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# obsolete? (empty string is no)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set sql_plugins {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {sqlite SQLite "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib -lsqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {psql PostgreSQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql95 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql94 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql84 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {mysql MySQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mariadb55"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mariadb"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mariadb/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mariadb/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql57/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql57/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql56/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql56/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string trim [lindex ${module_info} 8]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} ne "qtenginio" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-1.[join [lrange [split ${version} "."] 1 end] "."]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://bugreports.qt.io/browse/QTBUG-35514
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [lindex ${module_info} 9]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [string range ${license_string} 1+[string first ":" ${license_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [string trim ${license_string}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${license_string} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval license ${license_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 2] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 3] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach qtdeps [lindex ${module_info} 4] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qtdeps} ne "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${qtdeps}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Tools and Module(s) for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_list [lindex ${module_info} 5]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${modules_provided_list}] == 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [lindex ${modules_provided_list} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { [llength ${modules_provided_list}] == 2 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join ${modules_provided_list} " and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join [list [join [lrange ${modules_provided_list} 0 end-1] ", "] [lindex ${modules_provided_list} end]] ", and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description "Tools and Module(s) for Qt Tool Kit ${qt_major}: ${modules_provided_join}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this subport uses configure script (NOT qmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use the qt5 group; set 'building_qt5' so that the portgroup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # does not include certain parts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set building_qt5 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unset building_qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} ne "darwin" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "${subport} is untested on \"${os.platform}\"."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Multiple architectures is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "i386" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "32-bit mode is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Qt uses CFRunLoopTimerCreateWithHandler, which was not introduced until Mac OS X 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://developer.apple.com/reference/corefoundation/1542555-cfrunlooptimercreatewithhandler?language=objc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OS X 10.7 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Qt uses TLS protocols introduced in OS X 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://developer.apple.com/reference/security/sslprotocol/ktlsprotocol11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://developer.apple.com/reference/security/sslprotocol?language=objc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} == 11 && ![variant_isset openssl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "using Secure Transport requires OS X 10.8 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "please use openssl variant"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible variant choice"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/141654/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://lists.qt-project.org/pipermail/interest/2015-January/thread.html#14954
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://comments.gmane.org/gmane.comp.lib.qt.user/21422
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system automatically uses OpenGL frameworks (-framework OpenGL -framework AGL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system also uses pkgconfig to look for an OpenGL installation (gl.pc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if mesa is installed, the build system will try to use both OpenGL systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # later, this will cause problems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Undefined symbols: "_CGLGetCurrentContext"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # undo part of https://codereview.qt-project.org/#/c/140954/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .pc files still needed by some port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt5.rb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-pc_files.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://stackoverflow.com/questions/14506151/invalid-symbol-redefinition-in-inline-asm-on-llvm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # only runs test code on 32-bit systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this test might still cause problems, but with 5.4.2->5.5.0, it is no longer run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -macx-*: SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # +macx-*: contains(QT_CONFIG, private_tests): SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # When testing, ensure that a universal object file is not inadvertently created.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prior to 10.8, CFNetwork was part of CoreServices
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qnetworkproxy_mac.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtbase is used for:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1) building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2) building MacPorts projects via qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3) building end-user projects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1 & 2 require consistency with the MacPorts environment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3 requires consistency with the default Qt installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2 can be achieved via environment variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (e.g. QMAKE_MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the only way 3 can be achieved is if no changes are made to the build system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the following is an attempt to achieve 1 without destroying 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # save default spec files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/mkspecs ${worksrcpath}/mkspecs-save
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use compiler specified by configure.compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.compiler} ne "clang" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-mkspecs_compiler.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_CC__|${configure.cc}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_CXX__|${configure.cxx}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match macports-clang-* ${configure.compiler}] && [vercmp ${xcodeversion} "7.0"] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # non-Xcode clang does not seem to be able to understand tbd files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for an explanation of tbd files, see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # http://stackoverflow.com/questions/31450690/why-xcode-7-shows-tbd-instead-of-dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53151
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "This configuration is known to fail"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "See https://trac.macports.org/ticket/53151"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "As a workaround, do not set configure.compiler manually"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible configuration"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # change default compiler flags for the purpose of building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${cxx_stdlib} eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib ${cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see cxx11 PortGroup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib "macports-libstdc++ -D_GLIBCXX_USE_CXX11_ABI=0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib "macports-libstdc++"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS__CXX_STDLIB__|${replace_cxx_stdlib}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_DEPLOYMENT_TARGET__|${macosx_deployment_target}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [vercmp ${xcodeversion} "7.0"] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # starting with Xcode 7.0, the SDK for build OS version might not be available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53597
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdks_dir ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![file exists ${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdk_version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # respect configure.sdk_version value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-macx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_MAC_SDK__|macosx${configure.sdk_version}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # return modified spec files to the default values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/common/clang-mac.conf ${worksrcpath}-${arch}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/common/macx.conf ${worksrcpath}-${arch}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}-${arch}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/common/clang-mac.conf ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/common/macx.conf ${worksrcpath}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --prefix is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args-delete --prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --disable-dependency-tracking is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Installation options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-extprefix SYSROOT/PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostprefix EXTPREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-libexecdir ARCHDATADIR/libexec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostbindir HOSTPREFIX/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostlibdir HOSTPREFIX/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -prefix ${qt_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -bindir ${qt_bins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -headerdir ${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -libdir ${qt_libs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -archdatadir ${qt_archdata_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -plugindir ${qt_plugins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -importdir ${qt_imports_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -qmldir ${qt_qml_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -datadir ${qt_data_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -docdir ${qt_docs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -translationdir ${qt_translations_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sysconfdir ${qt_sysconf_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -examplesdir ${qt_examples_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -testsdir ${qt_tests_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -hostdatadir ${qt_host_data_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Configure options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -opensource \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -confirm-license \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -shared \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -largefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -accessibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach driver { db2 ibase mysql oci odbc psql sqlite sqlite2 tds } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -no-sql-${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "-platform ${qt_qmake_spec}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(i386) "-platform ${qt_qmake_spec_32}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(x86_64) "-platform ${qt_qmake_spec_64}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-testcocoon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gcov \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -force-pkg-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # turn off CFG_CLOEXEC if gnulib is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Third Party Libraries:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-mtdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-journald \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-syslog \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libjpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libproxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-pcre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-x11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xinput2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb-xlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -glib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pulseaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-alsa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gtkstyle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # from the configure script:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # NOTE: -optimized-tools is not useful in -release mode.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Additional options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make libs} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make tools} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake examples} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake tests} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -widgets \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-rpath \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -verbose \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -cups \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -iconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-tslib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -strip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-ltcg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -dbus-linked \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-use-gold-linker \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-separate-debug-info \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-eglfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gbm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-directfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-linuxfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-kms \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-mirclient \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libinput \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gstreamer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-system-proxies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # MacOS/iOS options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -securetransport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sdk macosx${configure.sdk_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure options that don't show up in configure --help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libudev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-egl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-openvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Qt builds part of the system using environment provided my MacPorts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # It builds the rest using its own internal environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For consistency, clear MacPorts environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdkroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ld_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pipe no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_arch_flag no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.march
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.mtune
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cofigure script looks for perl but doesn't seem to use it for our configuration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure script uses gawk if it can find it,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # so require it for consistency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:gawk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless overridden, configure script uses gmake if it can find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MAKE=${build.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # delete preprocessor comments surrounding QT_CPU_FEATURES.i386 and QT_CPU_FEATURES.x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#ifndef.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#else.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#endif.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The file ${qt_mkspecs_dir}/qconfig.pri is still not properly merged
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # A workaround is to set QT_ARCH and QT_TARGET_ARCH manually (see e.g. the qmake5 PortGroup)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake tests} {-make tests}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake examples} {-make examples}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant debug description {Build both release and debug libraries} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -release -debug-and-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant pulseaudio description {Compile PulseAudio support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-pulseaudio -pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant gstreamer description {Compile GStreamer support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gstreamer1 port:gstreamer1-gst-plugins-base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-gstreamer {-gstreamer 1.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant openssl description {Use OpenSSL instead of Secure Transport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -securetransport -no-openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -openssl-linked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/51358
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for why not a path dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these subports use qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # detremint which variants are to be turned off
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set def_var ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~universal"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "noarch"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~debug"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.debug_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~tests"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "++examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend def_var "+examples"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${def_var} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append ${def_var}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # accommodating variant request varies depending on how qtbase was built
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake builds examples by default (set via variants)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase examples ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake runs tests by default (set via varians)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase tests ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to build examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists examples] && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to run tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists tests] && [variant_isset tests] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine of qmake's default and user requests are compatible; override qmake if necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_examples} && !${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_examples} && ${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_tests} && !${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_tests} && ${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Special Cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtdoc" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in the process of building the html files, qtdoc looks for all installed modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # with no clear way to select only a subset
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless a way is found, ReproducibleBuilds (https://trac.macports.org/wiki/ReproducibleBuilds)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # requires qtdoc depend on all the documentation modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module_doc module_doc_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_doc_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} >= 13 || (${module_doc} ne "qtwebengine" && ${module_doc} ne "qtwebview") } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${module_doc}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtlocation" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtlocation uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Gypsy (https://gypsy.freedesktop.org/wiki/)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { gypsy } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/config.tests/${test}/main.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use MacPorts icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qmake uses pkgconfig to look for icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this feature does not work without "CONFIG += link_pkgconfig"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtwebkit uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # glx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXcomposite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXrender
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { glx libXcomposite libXrender } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/Tools/qmake/config.tests/${test}/${test}.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prevent qttools from opportunistically using qtwebkit if it can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qtwebkit description {build with QtWebkit support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-delete patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these folders are installed and conflict with ${name}-qttools-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/assistant/simpletextviewer/documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/help/contextsensitivehelp/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44934 (and #35067 for the qt4-mac version)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_frameworks_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [split ${qt_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${qt_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_qt [lindex $qt_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_qt} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [lreplace ${qt_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libreplace [string repeat ../ [llength ${qt_list}]][join ${framework_list} /]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${libreplace} ne "lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_FRAMWORK_DIR__|${libreplace}|g" ${worksrcpath}/src/macdeployqt/shared/shared.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {13 5.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OS X 10.9 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://lists.qt-project.org/pipermail/interest/2016-February/thread.html#20946
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://googleappsupdates.blogspot.co.uk/2014/09/google-chrome-64-bit-for-mac-and-windows.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append QMAKE_LINK=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} > 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/chromium/base/mac/sdk_forward_declarations.h?h=53-based&id=28b1110370900897ab652cb420c371fab8857ad4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-bluetooth.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtsensors" && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset debug] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug "_debug"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix library path names or MacPorts will try to reinstall
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/libgruesensor.1.dylib grue/sensors/libqtsensors_grue${debug}.dylib sensor_explorer/Explorer/libdeclarative_explorer${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -id ${qt_examples_dir}/sensors/${dylib} ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/sensors/libqtsensors_grue${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -change libgruesensor.1.dylib ${qt_examples_dir}/sensors/grue/libgruesensor.1.dylib ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtconnectivity" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/172619/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-qtconn-for-10.12.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtmultimedia" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} ne "qtenginio" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-1.[join [lrange [split ${version} "."] 1 end] "."]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for the port ${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qttools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.debug_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtdeclarative" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtserialbus" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtserialport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebview" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtwebengine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # generated makefiles assume full Qt was built locally
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/qdoc ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/qhelpgenerator ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {13 5.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OS X 10.9 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtwebchannel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # without this file, the makefile ${worksrcpath}/qtwebkit/Source/WebCore/Makefile.WebCore.Target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # keeps generating itself over and over again
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this file is only created when the library is being built, however
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/Source/WebCore/generated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch ${worksrcpath}/Source/WebCore/generated/InspectorBackendCommands.qrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # avoid
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ! Missing GStreamer or QtMultimedia, disabling HTML5 media element support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qtmultimedia
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see http://doc.qt.io/qt-5/sql-driver.html for info on building SQL Database Drivers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {sql_names sql_info} [array get sql_plugins] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set driver [lindex ${sql_names} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dbms [lindex ${sql_names} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [lindex ${sql_names} 2]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${driver}-plugin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname qtbase-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex $modules(qtbase) 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex $modules(qtbase) 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if there is more than one version of the database system, create variants for each version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${sql_info}] > 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # find every other variant so it can be marked as conflicting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set conflicts_list ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info2 ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName2 [lindex ${variant_info2} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${varName} ne ${varName2} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend conflicts_list ${varName2}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # get only the numbers from the name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp {[0-9].} ${varName} varVer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${varName} conflicts ${conflicts_list} description "use version ${varVer} of ${dbms}" {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # check if any variant has been set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset ${varName}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ensure at least one variant is set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${any_variant_set} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +[lindex [lindex ${sql_info} 0] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ( [variant_exists ${varName}] && [variant_isset ${varName}] ) || [llength ${sql_info}]==1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [lindex ${variant_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst INCLUDEPATH+=\"[lindex ${variant_info} 2]\"] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst LIBS+=\"[lindex ${variant_info} 3]\"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for single architecture, easier to use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # worksrcdir ${worksrcdir}/qtbase/src/plugins/sqldrivers/${driver},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # but doesn't work for universal build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.dir ${worksrcpath}/src/plugins/sqldrivers/${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53248
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.top_level ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # meta-port to install documentation for various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} eq ${name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the main port is Meta-port to install various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Qt Tool Kit: A cross-platform framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (headers, data, and libraries) for writing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cross-platform GUI-based applications.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_framework ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set depends_check ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_build] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_build}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_lib] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_lib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach deps ${depends_check} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string first ":python27" ${deps}] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If Qt components use Python, ensure that MacPorts python27 is used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # a better solution would be to force components to use a specific python program
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # how to accomplish such a thing is not entirely clear
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #49838
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # version 5.5.1 (at least) of qtwebengine must find a python version in the interval [2.7, 3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (see tools/qmake/mkspecs/features/functions.prf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # versions 5.5.1 of qtdeclarative and qtwebkit also use python with no way of specifying which one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${python_framework} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset python_framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ![exists universal_variant] || [option universal_variant] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ merger-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dir ${destroot}-${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.framework/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_examples_dir}/widgets/tools/plugandpaint/plugins/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Libs.private contains the value of ${worksrcpath}-${arch}, which prevents merging
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*-arch \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*${arch} \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s:-arch +[^ ]+::g} ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44204
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir} *.framework] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework [file rootname ${f}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [split ${qt_includes_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_libs_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${include_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_include [lindex $include_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_include} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [lreplace ${include_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_includes_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s [string repeat ../ [llength ${include_list}]][join ${framework_list} /]/${f}/Headers ${destroot}${qt_includes_dir}/${framework}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .app and non-.app programs are both put in qt_bins_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put a link of any .app programs in the ${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_bins_dir} ne ${qt_apps_dir} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach app [glob -nocomplain -tails -directory ${destroot}${qt_bins_dir} *.app] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/${app} ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put configuration files in places they will be found automatically
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_libs_dir} ne "${prefix}/lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to pkgconfig files in place where pkgconfig will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 pkgconfig files begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach pcfile [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir}/pkgconfig *.pc] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/pkgconfig/${pcfile} ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to cmake files in place where cmake will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 cmake directories begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake/${cmakedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -tails -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/cmake/${cmakedir}/${cmakefile} ${destroot}${prefix}/lib/cmake/${cmakedir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if cmake finds configuration files in ${prefix}/lib/cmake, CMAKE_CURRENT_LIST_DIR expands to ${prefix}/lib/cmake/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cmake configuration files actually installed in ${qt_cmake_module_dir}/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -nocomplain -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\\\${CMAKE_CURRENT_LIST_DIR}|${qt_cmake_module_dir}/${cmakedir}|g" ${cmakefile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://download.qt.io/archive/qt/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex (\\d+(\\.\\d+)+)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-add_sdk.diff b/aqua/qt56/files/patch-add_sdk.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f8d4800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From dd5bed5198bda65930d4ea406e29006f0deb6018 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 22 Nov 2015 10:24:04 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] OS X: resolve SDK version of QMAKE_LINK_C and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C_SHLIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On OS X, both compilers and linkers are given an absolute path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+For consistency, the same should be done with the C linkers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The change is also a convenience to the MacPorts project,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+which actively discourages ambiguous compiler names.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(https://trac.macports.org/wiki/UsingTheRightCompiler).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic1885aed825340696e9fde766788eebf51de3ff6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkspecs/features/mac/sdk.prf | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e238f8e..624366a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,7 +42,7 @@ QMAKE_INCDIR_OPENGL = $$sysrootified
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKESPEC_NAME = $$basename(QMAKESPEC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resolve SDK version of various tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_LINK_C QMAKE_LINK_C_SHLIB)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tool_variable = QMAKE_MAC_SDK.$${QMAKESPEC_NAME}.$${QMAKE_MAC_SDK}.$${tool}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ !isEmpty($$tool_variable) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $$tool = $$eval($$tool_variable)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-bluetooth.diff b/aqua/qt56/files/patch-bluetooth.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6c5d809
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-bluetooth.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/qtwebengine/src/3rdparty/chromium/base/mac/sdk_forward_declarations.h b/qtwebengine/src/3rdparty/chromium/base/mac/sdk_forward_declarations.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e45ab43..1ba35cb 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/chromium/base/mac/sdk_forward_declarations.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/chromium/base/mac/sdk_forward_declarations.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,6 +15,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <CoreWLAN/CoreWLAN.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <ImageCaptureCore/ImageCaptureCore.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <IOBluetooth/IOBluetooth.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CoreBluetooth.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "base/base_export.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-configure.diff b/aqua/qt56/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..680196b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2015-10-12 21:35:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2015-10-18 12:19:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4319,7 +4319,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local incdir_raw incdir_mod cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local libdir_raw libdir_mod libs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [ -n "$PKG_CONFIG" ] && [ "$qmake_postfix" != "OPENGL" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incdir_raw=`$PKG_CONFIG --cflags-only-I $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags=`$PKG_CONFIG --cflags-only-other $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libdir_raw=`$PKG_CONFIG --libs-only-L $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-deployment_target.diff b/aqua/qt56/files/patch-deployment_target.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..95122ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-deployment_target.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/JavaScriptCore/API/JSBase.h.orig 2015-10-12 21:37:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/JavaScriptCore/API/JSBase.h 2016-11-13 06:22:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -141,7 +141,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Enable the Objective-C API for platforms with a modern runtime. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if !defined(JSC_OBJC_API_ENABLED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define JSC_OBJC_API_ENABLED (defined(__clang__) && defined(__APPLE__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 && !defined(__i386__))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define JSC_OBJC_API_ENABLED 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif /* JSBase_h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp.orig 2015-10-12 21:37:14.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp 2016-11-13 08:00:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -423,10 +419,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OwnPtr<MessageDecoder> decoder = createMessageDecoder(header);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(decoder);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- decoder->setImportanceAssertion(ImportanceAssertion::create(header));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (decoder->messageReceiverName() == "IPC" && decoder->messageName() == "InitializeConnection") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(m_isServer);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASSERT(!m_isConnected);
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-firstObject.diff b/aqua/qt56/files/patch-firstObject.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7b42bb9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/plugins/avfoundation/camera/avfcamerautility.mm.orig 2016-09-12 03:58:51.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/plugins/avfoundation/camera/avfcamerautility.mm 2016-12-28 09:44:52.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,6 +42,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <algorithm>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// from the 10.9 SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@interface NSArray (MacPortsCompatibilityFirstObject)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- (id)firstObject NS_AVAILABLE(10_6, 4_0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AVFPSRange qt_connection_framerates(AVCaptureConnection *videoConnection)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-fontconfig.diff b/aqua/qt56/files/patch-fontconfig.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fe5a612
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-fontconfig.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platformsupport/fontdatabases/fontdatabases.pri.orig 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platformsupport/fontdatabases/fontdatabases.pri 2016-06-12 07:50:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-!win32|contains(QT_CONFIG, freetype):!mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++!win32|contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$PWD/basic/basic.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-unix:!mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++unix {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG += qpa/genericunixfontdatabase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$PWD/genericunix/genericunix.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contains(QT_CONFIG,fontconfig) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- .//src/platformsupport/fontdatabases/mac/coretext.pri.oirg 2016-05-25 08:46:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ .//src/platformsupport/fontdatabases/mac/coretext.pri 2016-06-12 07:50:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,13 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CONFIG += opentype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ios: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # On iOS CoreText and CoreGraphics are stand-alone frameworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS_PRIVATE += -framework CoreText -framework CoreGraphics
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-icu.diff b/aqua/qt56/files/patch-icu.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..322cae5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Tools/qmake/config.tests/icu/icu.pro.orig 2015-07-16 11:45:20.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Tools/qmake/config.tests/icu/icu.pro 2015-07-16 11:46:05.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licuin -licuuc -licudt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!contains(QT_CONFIG,no-pkg-config):packagesExist("icu-i18n") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKGCONFIG += icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licui18n -licuuc -licudata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WTF/WTF.pri.orig 2015-10-12 21:37:08.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WTF/WTF.pri 2016-05-04 04:22:48.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9,10 +9,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Mac OS does ship libicu but not the associated header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Therefore WebKit provides adequate header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH = $${ROOT_WEBKIT_DIR}/Source/WTF/icu $$INCLUDEPATH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBS += -licucore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKGCONFIG *= icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!use?(wchar_unicode): {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG(static, static|shared) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/Target.pri.orig 2015-10-12 21:37:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/Target.pri 2016-05-04 09:47:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2986,9 +2986,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # For Mac we use the same SmartReplace implementation as the Apple port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SOURCES += editing/SmartReplaceCF.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += $$PWD/icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-machtest.diff b/aqua/qt56/files/patch-machtest.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..93c63b6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro.orig 2015-07-05 12:53:46.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro 2015-07-05 12:53:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,10 +7,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.target = good.i386.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++i386.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.target = good.x86_64.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++x86_64.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Current Mac OS X toolchains have no compiler for PPC anymore
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-macx.conf.diff b/aqua/qt56/files/patch-macx.conf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..431fff4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-macx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/macx.conf.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/macx.conf 2017-02-05 05:10:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,6 +3,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_PLATFORM += macos osx macx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MAC_SDK = macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MAC_SDK = __MACPORTS_MAC_SDK__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(mac.conf)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-mkspecs.diff b/aqua/qt56/files/patch-mkspecs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..31fa02b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,104 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang/qmake.conf.orig 2016-10-31 19:10:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang/qmake.conf 2016-10-31 19:12:23.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,6 +11,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang-32/qmake.conf.orig 2016-10-31 19:11:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang-32/qmake.conf 2016-10-31 19:13:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,7 +11,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++/qmake.conf.orig 2016-10-31 19:11:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++/qmake.conf 2016-10-31 19:13:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++-32/qmake.conf.orig 2016-10-31 19:11:18.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++-32/qmake.conf 2016-10-31 19:13:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++40/qmake.conf.orig 2016-10-31 19:11:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++40/qmake.conf 2016-10-31 19:14:40.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++42/qmake.conf.orig 2016-10-31 19:11:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++42/qmake.conf 2016-10-31 19:14:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-icc/qmake.conf.orig 2016-10-31 19:11:43.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-icc/qmake.conf 2016-10-31 19:15:29.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -83,7 +83,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-llvm/qmake.conf.orig 2016-10-31 19:11:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-llvm/qmake.conf 2016-10-31 19:15:50.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/llvm.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvmgcc42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/clang-mac.conf.orig 2016-10-31 19:35:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/clang-mac.conf 2016-10-31 19:35:36.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,5 +6,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvm.clang.1_0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CXXFLAGS += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_LFLAGS += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-mkspecs_compiler.diff b/aqua/qt56/files/patch-mkspecs_compiler.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b6a99ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-mkspecs_compiler.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/clang.conf.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/clang.conf 2016-12-26 05:05:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4,8 +4,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_COMPILER = gcc clang llvm # clang pretends to be gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CC = clang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CXX = clang++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CC = __MACPORTS_CC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXX = __MACPORTS_CXX__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C = $$QMAKE_CC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C_SHLIB = $$QMAKE_CC
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-no_qtwebkit.diff b/aqua/qt56/files/patch-no_qtwebkit.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2ea25ef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/assistant/assistant/assistant.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/assistant/assistant/assistant.pro 2016-05-04 16:32:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BROWSER = qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BROWSER = qtextbrowser
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT += widgets network help sql help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(printsupport): QT += printsupport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/designer/src/plugins/plugins.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/designer/src/plugins/plugins.pro 2016-05-04 16:32:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEMPLATE = subdirs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtHaveModule(opengl): SUBDIRS += tools/view3d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets): SUBDIRS += qwebview
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(quickwidgets): SUBDIRS += qquickwidget
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-pc_files.diff b/aqua/qt56/files/patch-pc_files.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e61d7b5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-pc_files.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Partially reverts <https://codereview.qt-project.org/#/c/140954/>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git i/qtbase/mkspecs/features/qt_module.prf w/qtbase/mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index bb28af97..36bb6483 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -245,7 +245,7 @@ load(qt_installs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_targets)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this builds on top of qt_common
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-!internal_module:!lib_bundle:if(unix|mingw) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++!internal_module:if(unix|mingw) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG += create_pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_build: \
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-qnetworkproxy_mac.cpp.diff b/aqua/qt56/files/patch-qnetworkproxy_mac.cpp.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..84a54c3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-qnetworkproxy_mac.cpp.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/network/kernel/qnetworkproxy_mac.cpp.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/network/kernel/qnetworkproxy_mac.cpp 2017-02-05 08:04:59.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -41,7 +41,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef QT_NO_NETWORKPROXY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <CFNetwork/CFNetwork.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreServices/CoreServices.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <CoreFoundation/CoreFoundation.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <SystemConfiguration/SystemConfiguration.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-qtconn-for-10.12.diff b/aqua/qt56/files/patch-qtconn-for-10.12.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..842853d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-qtconn-for-10.12.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,68 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 462323dba4f963844e8c9911da27a0d21e4abf43 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Samuel Gaist <samuel.gaist@edeltech.ch>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 2 Oct 2016 21:19:39 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fixed build with MaxOSX10.12 SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This patch adds missing includes that allows to build the module with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the 10.12 SDK and Xcode 8.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ieab48f6a0582b916ceecbbb9a01a4169d6ba53f5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reviewed-by: Jake Petroules <jake.petroules@qt.io>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtcentralmanager_p.h | 8 ++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtledeviceinquiry.mm | 5 +++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/bluetooth/osx/osxbtutility.mm | 3 +++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3 files changed, 16 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtcentralmanager_p.h src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1ff33c1..68b32f3 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtcentralmanager_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -61,6 +61,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "corebluetoothwrapper_p.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBService.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBCharacteristic.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBDescriptor.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBCentralManager.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <CoreBluetooth/CBPeripheral.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @class QT_MANGLE_NAMESPACE(OSXBTCentralManager);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtledeviceinquiry.mm src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 5cf9b19..5a2f2db 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtledeviceinquiry.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,6 +42,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "corebluetoothwrapper_p.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBCentralManager.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBPeripheral.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace OSXBluetooth {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/bluetooth/osx/osxbtutility.mm src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 08ff699..32f6f74 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/bluetooth/osx/osxbtutility.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -41,6 +41,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef QT_IOS_BLUETOOTH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <IOBluetooth/objc/IOBluetoothSDPUUID.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_MAC_PLATFORM_SDK_EQUAL_OR_ABOVE(__MAC_10_12, __IPHONE_NA)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <CoreBluetooth/CBUUID.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.10.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-shared.diff b/aqua/qt56/files/patch-shared.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fde1129
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/macdeployqt/shared/shared.cpp.orig 2015-02-16 21:57:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/macdeployqt/shared/shared.cpp 2015-05-31 10:36:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -233,7 +233,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = DylibName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else if (part < parts.count() && parts.at(part).endsWith(".framework")) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- info.installName += "/" + (qtPath + "lib/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ info.installName += "/" + (qtPath + "__MACPORTS_FRAMWORK_DIR__/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ info.frameworkDirectory = info.installName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = FrameworkName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-tst_benchlibcallgrind.diff b/aqua/qt56/files/patch-tst_benchlibcallgrind.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7141fd6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp.orig 2014-06-28 00:25:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp 2014-06-19 03:08:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -73,9 +73,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QBENCHMARK {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __asm__ __volatile__(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mov $100000000,%%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "LOOPTOP: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "1: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "dec %%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "jnz LOOPTOP \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "jnz 1b \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no output */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no input */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* clobber */ "eax"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/files/patch-tst_qpluginloader.diff b/aqua/qt56/files/patch-tst_qpluginloader.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fbce2b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/files/patch-tst_qpluginloader.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp.orig 2015-05-30 18:33:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp 2015-05-30 18:34:54.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -311,7 +311,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO_data()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::addColumn<int>("parseResult");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::newRow("/dev/null") << int(QMachOParser::NotSuitable);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -347,7 +347,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QFile f(QFINDTESTDATA(QTest::currentDataTag()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QVERIFY(f.open(QIODevice::ReadOnly));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray data = f.readAll();
</span></pre><pre style='margin:0'>
</pre>