Changes between Version 7 and Version 8 of Ticket #56991, comment 88


Ignore:
Timestamp:
Oct 2, 2019, 12:07:05 AM (2 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 88

    v7 v8  
    3434 # where MacPorts itself is installed.
    3535 prefix                 /opt/universal
    36 diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl
    37 --- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig           2019-09-27 16:50:27.000000000 -0400
    38 +++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl                2019-09-30 17:28:43.000000000 -0400
    39 @@ -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]"
    5136diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl
    5237--- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig  2019-09-21 16:25:24.000000000 -0700
    5338+++ /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 @@
    5540                 append_to_environment_value configure $env_var -isysroot${configure.sdkroot}
    5641             }
    5742             append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
     43+            append_to_environment_value configure "SDKROOT" ${configure.sdkroot}
    5844+            append_to_environment_value configure "LDFLAGS" -Wl,-w
    5945         }