1 | | I’ll remove my fixed version of {{{libass}}} once I’m home and in-front of my system, I’ll try also opening an enchantment ticket for {{{libvpx}}} since the SDK change was merged. |
2 | | |
3 | | Replying to [comment:86 kencu]: |
4 | | > BTW, I updated this instructions in [ticket:56991#comment:70] to point to the new version of the `SDKROOT` patch that was rolled into base. |
5 | | |
6 | | For me the patch below didn’t work anymore I made another one that works, I’ll post it later |
7 | | {{{ |
8 | | $ diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl |
9 | | --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig 2019-09-21 16:25:24.000000000 -0700 |
10 | | +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl 2019-09-21 16:26:20.000000000 -0700 |
11 | | @@ -1477,6 +1477,7 @@ |
12 | | append_to_environment_value configure $env_var -isysroot${configure.sdkroot} |
13 | | } |
14 | | append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot} |
15 | | + append_to_environment_value configure "LDFLAGS" -Wl,-w |
16 | | } |
17 | | |
18 | | # add extra flags that are conditional on whether we're building universal |
19 | | }}} |
20 | | |
21 | | The below patch does the required changes within a single patch |
22 | | {{{ |
23 | | diff -u /opt/universal/etc/macports/macports.conf.orig /opt/universal/etc/macports/macports.conf |
24 | | --- /opt/universal/etc/macports/macports.conf.orig 2019-09-27 22:22:38.000000000 -0400 |
25 | | +++ /opt/universal/etc/macports/macports.conf 2019-09-27 22:22:14.000000000 -0400 |
26 | | @@ -1,6 +1,9 @@ |
27 | | # MacPorts system-wide configuration file. |
28 | | # Commented-out values are defaults unless otherwise noted. |
29 | | |
30 | | +macosx_deployment_target 10.13 |
31 | | +macosx_sdk_version 10.13 |
32 | | + |
33 | | # Directory under which MacPorts should install ports. This must be |
34 | | # where MacPorts itself is installed. |
35 | | prefix /opt/universal |
36 | | diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl |
37 | | --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig 2019-09-21 16:25:24.000000000 -0700 |
38 | | +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl 2019-09-21 16:26:20.000000000 -0700 |
39 | | @@ -1477,6 +1477,8 @@ |
40 | | append_to_environment_value configure $env_var -isysroot${configure.sdkroot} |
41 | | } |
42 | | append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot} |
43 | | + append_to_environment_value configure "SDKROOT" ${configure.sdkroot} |
44 | | + append_to_environment_value configure "LDFLAGS" -Wl,-w |
45 | | } |
46 | | |
47 | | # add extra flags that are conditional on whether we're building universal |
48 | | }}} |
49 | | |
50 | | Also side note FAudio is now 19.10, I added an updated version |
| 1 | Edit - No longer relevant with macports 2.6.1 |