| 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 |
| 18 | {{{ |
| 19 | diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf |
| 20 | --- /opt/universal/etc/macports/macports.conf.orig 2019-09-27 22:22:38.000000000 -0400 |
| 21 | +++ /opt/universal/etc/macports/macports.conf 2019-09-27 22:22:14.000000000 -0400 |
| 22 | @@ -1,6 +1,9 @@ |
| 23 | # MacPorts system-wide configuration file. |
| 24 | # Commented-out values are defaults unless otherwise noted. |
| 25 | |
| 26 | +macosx_deployment_target 10.13 |
| 27 | +macosx_sdk_version 10.13 |
| 28 | + |
| 29 | # Directory under which MacPorts should install ports. This must be |
| 30 | # where MacPorts itself is installed. |
| 31 | 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 |
| 43 | diff -u /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portutil.tcl |
| 44 | --- /opt/universal/libexec/macports/lib/port1.0/portutil.tcl.orig 2019-09-27 16:50:27.000000000 -0400 |
| 45 | +++ /opt/universal/libexec/macports/lib/port1.0/portutil.tcl 2019-09-30 17:28:43.000000000 -0400 |
| 46 | @@ -426,7 +426,10 @@ |
| 47 | set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :] |
| 48 | } |
| 49 | set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir] |
| 50 | - |
| 51 | + if {[option configure.sdkroot] ne ""} { |
| 52 | + set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot] |
| 53 | + } |
| 54 | + |
| 55 | # Debug that. |
| 56 | ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]" |
| 57 | }}} |