43 | | diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl |
44 | | --- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig 2019-09-27 16:50:27.000000000 -0400 |
45 | | +++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl 2019-09-30 17:28:43.000000000 -0400 |
46 | | @@ -426,7 +426,10 @@ |
47 | | set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :] |
48 | | } |
49 | | set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir] |
50 | | - |
51 | | + if {[option configure.sdkroot] ne ""} { |
52 | | + set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot] |
53 | | + } |
54 | | + |
55 | | # Debug that. |
56 | | ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]" |