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


Ignore:
Timestamp:
Oct 7, 2019, 4:51:47 AM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 70

    v5 v6  
    1313/Library/Developer/CommandLineTools/SDKs/MacOS10.13.sdk
    1414}}}
    15 1. add [https://github.com/macports/macports-base/commit/dabf0a7a6043bd3b356f9b99df399159153d8c61 this patch] to base in that installation (or if you are facile about things, check out the current git master of `macports-base` which has this commit already incorporated):
    16 1. and this patch is helpful, athough eventually we'd like to find a way to not need it:
    17 {{{
    18 $ diff -u /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl
    19 --- /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl.orig  2019-09-21 16:25:24.000000000 -0700
    20 +++ /opt/universal/libexec/macports/lib/port1.0/portconfigure.tcl       2019-09-21 16:26:20.000000000 -0700
    21 @@ -1477,6 +1477,7 @@
    22                  append_to_environment_value configure $env_var -isysroot${configure.sdkroot}
    23              }
    24              append_to_environment_value configure "LDFLAGS" -Wl,-syslibroot,${configure.sdkroot}
    25 +            append_to_environment_value configure "LDFLAGS" -Wl,-w
    26          }
    27  
    28          # add extra flags that are conditional on whether we're building universal
    29 }}}
    30 1. libvpx needs a [https://trac.macports.org/attachment/ticket/56991/patch-build-make-configure.sh.diff patch]
     151. Clone this repo branch, or use it's top few commits yourself <https://github.com/kencu/macports-ports/tree/universalfixes> and use it as a portfile overlay to add a few small fixes for `+universal` to work more easily.
    31161. `mingw-w64` won't install `+universal`, so you need to install that `-universal`, most easily before you install `wine-devel`.
    3217