<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/e09517b2ebf0ca18cd7b6e66ac3ffafba48296b3">https://github.com/macports/macports-base/commit/e09517b2ebf0ca18cd7b6e66ac3ffafba48296b3</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 e09517b  portutil: Export DEVELOPER_DIR for target {} blocks
</span>e09517b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit e09517b2ebf0ca18cd7b6e66ac3ffafba48296b3
</span>Author: Satryaji Aulia <satraul@macports.org>
AuthorDate: Fri Jul 19 18:17:27 2019 +0700

<span style='display:block; white-space:pre;color:#404040;'>    portutil: Export DEVELOPER_DIR for target {} blocks
</span>---
 src/port1.0/portutil.tcl | 4 ++++
 1 file changed, 4 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portutil.tcl b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 92518b7..7a65ad9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1471,6 +1471,8 @@ proc target_run {ditem} {
</span>                     if {[llength $deptypes] > 0} {tracelib setdeps $deplist}
                 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                # For {} blocks in the Portfile, export DEVELOPER_DIR to prevent Xcode binaries if shouldn't be used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                set ::env(DEVELOPER_DIR) [option configure.developer_dir]
</span>                 if {$result == 0} {
                     foreach pre [ditem_key $ditem pre] {
                         ui_debug "Executing $pre"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1500,6 +1502,8 @@ proc target_run {ditem} {
</span>                         if {$result != 0} { break }
                     }
                 }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                # Keep the environment clean by unsetting DEVELOPER_DIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                unset -nocomplain ::env(DEVELOPER_DIR)
</span> 
                 # Check dependencies & file creations outside workpath.
                 if {[tbool ports_trace]
</pre><pre style='margin:0'>

</pre>