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.
- Make sure like the rawpedia states that you add +quartz -x11 -gnome to the Macports variants.conf
- 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.)
- Make sure you do the libiconv patch step.
- 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.