<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/91ee5a45ab73a737b50d551259c40ffdc7ef88fb">https://github.com/macports/macports-ports/commit/91ee5a45ab73a737b50d551259c40ffdc7ef88fb</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 91ee5a45ab7 qt{5,6}*: set DEVELOPER_DIR for xcrun
</span>91ee5a45ab7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 91ee5a45ab73a737b50d551259c40ffdc7ef88fb
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Nov 17 03:57:43 2022 +1100

<span style='display:block; white-space:pre;color:#404040;'>    qt{5,6}*: set DEVELOPER_DIR for xcrun
</span>---
 _resources/port1.0/group/qmake5-1.0.tcl | 4 ++--
 aqua/phantomjs-qt/Portfile              | 4 ++--
 aqua/qt5/Portfile                       | 4 ++--
 aqua/qt511/Portfile                     | 4 ++--
 aqua/qt513/Portfile                     | 4 ++--
 aqua/qt53/Portfile                      | 4 ++--
 aqua/qt55/Portfile                      | 4 ++--
 aqua/qt56/Portfile                      | 4 ++--
 aqua/qt57/Portfile                      | 4 ++--
 aqua/qt58/Portfile                      | 4 ++--
 aqua/qt59/Portfile                      | 4 ++--
 aqua/qt6/Portfile                       | 4 ++--
 12 files changed, 24 insertions(+), 24 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qmake5-1.0.tcl b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 9cdb30be033..9c882285c5f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,11 +64,11 @@ pre-configure {
</span>             ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
         }
         ui_debug "qt5 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
             ui_debug "qt5 Portfile: system-specific SDK was not found, looking for generic SDK."
             # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                 ui_error "${subport}: no usable SDK can be found"
                 return -code error "no usable SDK can be found"
             } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/phantomjs-qt/Portfile b/aqua/phantomjs-qt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b2d3a0cd71d..7c5122002ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/phantomjs-qt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/phantomjs-qt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -373,11 +373,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "phantomjs-qt Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "phantomjs-qt Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 930ded20e1d..cc9b2765654 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1183,11 +1183,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt5 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt5 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt511/Portfile b/aqua/qt511/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6174d73720a..620ef7a1c8d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt511/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt511/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -996,11 +996,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt511 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt511 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt513/Portfile b/aqua/qt513/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c0801b50061..936b2183cef 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt513/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt513/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1003,11 +1003,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt513 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt513 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt53/Portfile b/aqua/qt53/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 18e429e1b00..d6162a5a0c9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt53/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt53/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -861,11 +861,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt53 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt53 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt55/Portfile b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 741ca751372..8714534ae42 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt55/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -868,11 +868,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt55 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt55 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<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 72f9f61e568..eaf3cafafbe 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;'>@@ -913,11 +913,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt56 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt56 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<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 6087166be80..9edb7c113f2 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;'>@@ -983,11 +983,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt57 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt57 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt58/Portfile b/aqua/qt58/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index feeffb54905..6a98b80dc11 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt58/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt58/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -979,11 +979,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt58 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt58 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt59/Portfile b/aqua/qt59/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6b366335fd0..5325159350a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt59/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt59/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -998,11 +998,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt59 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt59 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt6/Portfile b/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e25ff5d7df0..ed081f58cb4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -668,11 +668,11 @@ foreach {module module_info} [array get modules] {
</span>                     ui_debug "using possibly more specific SDK version: ${configure.sdk_version}"
                 }
                 ui_debug "qt6 Portfile: testing for system-specific SDK:"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx${configure.sdk_version} --find ld  > /dev/null 2>@1}]} {
</span> 
                     ui_debug "qt6 Portfile: system-specific SDK was not found, looking for generic SDK."
                     # if no specific sdk found, check for a generic macosx sdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {[catch {exec -ignorestderr /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {[catch {exec -ignorestderr env DEVELOPER_DIR=${configure.developer_dir} /usr/bin/xcrun --sdk macosx --find ld > /dev/null 2>@1}]} {
</span>                         ui_error "${subport}: no usable SDK can be found"
                         return -code error "no usable SDK can be found"
                     } else {
</pre><pre style='margin:0'>

</pre>