Changes between Version 2 and Version 3 of Ticket #56991, comment 92


Ignore:
Timestamp:
Oct 2, 2019, 1:19:04 AM (4 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 92

    v2 v3  
    1212
    1313Yeah I was using the new patch, ~~look over the diff of my comment you will see I even added in the new patch plus the LDFLAGS also but ncurses was a no go for some reason~~ seems I could have made a mistake with my own patch in an earlier edit
    14 
    15 My version of the patch should have been;
    16 {{{
    17 diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf
    18 --- /opt/universal/etc/macports/macports.conf.orig                              2019-09-27 22:22:38.000000000 -0400
    19 +++ /opt/universal/etc/macports/macports.conf                               2019-09-27 22:22:14.000000000 -0400
    20 @@ -1,6 +1,9 @@
    21  # MacPorts system-wide configuration file.
    22  # Commented-out values are defaults unless otherwise noted.
    23  
    24 +macosx_deployment_target     10.13
    25 +macosx_sdk_version           10.13
    26 +
    27  # Directory under which MacPorts should install ports. This must be
    28  # where MacPorts itself is installed.
    29  prefix                 /opt/universal
    30 diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl
    31 --- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig           2019-09-27 16:50:27.000000000 -0400
    32 +++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl                2019-09-30 17:28:43.000000000 -0400
    33 @@ -426,7 +426,11 @@
    34          set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]
    35      }
    36      set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]
    37 -
    38 +    if {[option configure.sdkroot] ne ""} {
    39 +        set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]
    40 +        set ${varprefix}.env_array(LDFLAGS) [option -Wl,-w]
    41 +    }
    42 +
    43      # Debug that.
    44      ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"
    45 }}}
    46 
    47 I'll let edit this comment or comment again if it works correctly.