| 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) |
| | 1 | Here is a simple patch for macports 2.6.1 |
| 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 |