Building dependencies for RT 5.7 on MacOS

Hi.

I will do my best to explain how I build with Macports. At work so typing on my phone.

All of the steps match rawpedia for Macports but some minor changes.

  1. Make sure like the rawpedia states that you add +quartz -x11 -gnome to the Macports variants.conf
  2. When installing the listed deps replace clang-3.9 with clang-9.0 and add cmake to the list. (Clang 3.9) does not run on newer versions of MacOS.)
  3. Make sure you do the libiconv patch step.
  4. When running cmake I use what is listed on the wiki but I use -DPROC_TARGET_NUMBER=“2”. Remove -DPROC_LABEL as it is no longer needed. Finally change the compilers to clang-mp-9.0 and clang++ -mp-9.0 respectively. Make sure LTO stays set to OFF.

Note if you can’t remove Homebrew make it will be easier to make a new user on your machine and install Macports there to build instead of trying to work around all the conflicts with Homebrew.