<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d8a0d2f905f0f366dbf29bd198770c99ce8af698">https://github.com/macports/macports-ports/commit/d8a0d2f905f0f366dbf29bd198770c99ce8af698</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d8a0d2f905f0f366dbf29bd198770c99ce8af698
</span>Author: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
AuthorDate: Fri Sep 29 05:28:23 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt56, qt57: simplify conflicts-delete code
</span>---
aqua/qt56/Portfile | 11 +----------
aqua/qt57/Portfile | 2 +-
2 files changed, 2 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt56/Portfile b/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5f67698..bdd40ee 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt56/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,7 +47,7 @@ foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
</span> }
# qt56-qtbase replaces qt5-qtbase, so can not conflict
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} eq 11 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} < 12 } {
</span> conflicts-delete qt5-qtbase
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1654,12 +1654,3 @@ post-destroot {
</span> livecheck.type regex
livecheck.url http://download.qt.io/archive/qt/${branch}/
livecheck.regex (\\d+(\\.\\d+)+)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ugly hack to allow Mac OS X 10.7 users to have qt5-XYZ be replaced by qt56-XYZ
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Qt version 5.7 does not work on macOS prior to 10.8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# since only needed for upgrading, should be removed on 3/12/2018
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} < 12 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {set installed [lindex [registry_active qt5-qtbase] 0]}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts-delete qt5-qtbase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/Portfile b/aqua/qt57/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 022250e..2311e56 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt57/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,7 +47,7 @@ foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
</span> }
# qt57-qtbase replaces qt5-qtbase, so can not conflict
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} eq 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} == 12 } {
</span> conflicts-delete qt5-qtbase
}
</pre><pre style='margin:0'>
</pre>