Building from source (macports)

After I downloaded and unpacked the sources (1.3.0) I tried to build and I’m getting:

- Using system OpenCASCADE (OCCT 7.8.0)
CMake Error at cmake/FindOpenCascade.cmake:22 (message):
  Cannot use OpenCascade 7.8.0 because it contains a critical bug.  Please
  use a different version (or if this is not possible, try OCE instead of
  OCCT).
Call Stack (most recent call first):
  CMakeLists.txt:164 (find_package)


-- Configuring incomplete, errors occurred!

Hmm the error message should be pretty clear… You need to either downgrade or upgrade the opencascade library to another version because 7.8.0 is broken (not our fault). On formulae.brew.sh it seems 7.9.0 is available which should compile fine.