Changes between Version 7 and Version 8 of Ticket #56991, comment 88
- Timestamp:
- Oct 2, 2019, 12:07:05 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56991, comment 88
v7 v8 34 34 # where MacPorts itself is installed. 35 35 prefix /opt/universal 36 diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl37 --- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig 2019-09-27 16:50:27.000000000 -040038 +++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl 2019-09-30 17:28:43.000000000 -040039 @@ -426,7 +426,11 @@40 set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]41 }42 set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]43 -44 + if {[option configure.sdkroot] ne ""} {45 + set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]46 + set ${varprefix}.env_array(LDFLAGS) [option configure.ldflags -Wl,-w]47 + }48 +49 # Debug that.50 ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"51 36 diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl 52 37 --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig 2019-09-21 16:25:24.000000000 -0700 53 38 +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl 2019-09-21 16:26:20.000000000 -0700 54 @@ -1477,6 +1477, 7@@39 @@ -1477,6 +1477,8 @@ 55 40 append_to_environment_value configure $env_var -isysroot${configure.sdkroot} 56 41 } 57 42 append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot} 43 + append_to_environment_value configure "SDKROOT" ${configure.sdkroot} 58 44 + append_to_environment_value configure "LDFLAGS" -Wl,-w 59 45 }