5 | | I installed from source an installation of MacPorts using the prefix `/opt/universal`. |
6 | | |
7 | | In that installation, in macports.conf, I added these two settings: |
8 | | {{{ |
9 | | macosx_deployment_target 10.13 |
10 | | macosx_sdk_version 10.13 |
11 | | }}} |
12 | | I put a copy of the MacOS 10.13 SDK where MacPorts would find it here: |
13 | | {{{ |
14 | | /Library/Developer/SDKs/MacOSX10.13.sdk |
15 | | }}} |
16 | | Edit: I just tried this again now, and had to do this to allow MacPorts to find the SDK: |
17 | | {{{ |
18 | | sudo ln -s /Library/Developer/SDKs/MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk |
19 | | }}} |
20 | | |
21 | | Sometimes the linker would put out a warning that 32bit builds were going away, and this would generate an error in some link steps (like cmake). I stopped those issues with a minor modification to `portconfigure.tcl` in that /opt/universal MacPorts installation. |
22 | | {{{ |
23 | | @@ -893,13 +893,14 @@ |
24 | | append_to_environment_value configure $env_var -isysroot${configure.sdkroot} |
25 | | } |
26 | | append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot} |
27 | | + append_to_environment_value configure "LDFLAGS" -Wl,-w |
28 | | } |
29 | | }}} |
30 | | |
31 | | |
32 | | I'll see if I can post up a screenshot of wine running on Mojave. |
33 | | |
34 | | {{{ |
35 | | $ /opt/universal/bin/port -v installed |
36 | | The following ports are currently installed: |
37 | | at-spi2-atk @2.26.2_1+universal (active) platform='darwin 18' archs='i386 x86_64' date='2018-11-06T07:48:57-0800' |
38 | | -- edit - long list of ports installed +universal deleted here |
39 | | }}} |
| 5 | see [ticket:56991#comment:70] for the up-to-date instructions. |