Changes between Version 5 and Version 6 of Ticket #56991, comment 92


Ignore:
Timestamp:
Oct 7, 2019, 2:46:58 PM (5 years ago)
Author:
Gcenx
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 92

    v5 v6  
    1 Replying to [comment:91 kencu]:
    2 > This part should not needed any longer:
    3 > {{{
    4 > +            append_to_environment_value configure "SDKROOT" ${configure.sdkroot}
    5 > }}}
    6 >
    7 > if you use the official patch [dabf0a7a6043bd3b356f9b99df399159153d8c61/macports-base] that made it into base.
    8 >
    9 > `ncurses` builds fine `+universal` for me with the official base patch.
    10 >
    11 > I will try the others.
    12 
    13 Yeah 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 Rebooted and it now works I have no idea what that was all about Ken sorry about that.
    16 
    17 Here is a complete patch (updated for macports 2.6.1)
     1Here is a simple patch for macports 2.6.1
    182{{{
    193diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf
     
    3014 # where MacPorts itself is installed.
    3115 prefix                 /opt/universal
    32 diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl
    33 --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig     2019-09-21 16:25:24.000000000 -0700
    34 +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl          2019-09-21 16:26:20.000000000 -0700
    35 @@ -1477,6 +1477,7 @@
    36                  append_to_environment_value configure $env_var -isysroot${configure.sdkroot}
    37              }
    38              append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
    39 +            append_to_environment_value configure "LDFLAGS" -Wl,-w
    40          }
    41  
    42          # add extra flags that are conditional on whether we're building universal
    4316}}}