Thank you for the suggestion. However, the variant would have to be default, which would still require cmake, which could still lead to circular dependency with clang.
-Marcus > On May 10, 2023, at 9:35 AM, Jason Liu <jason...@umich.edu> wrote: > > Would it make sense to make it into a variant, instead of a separate subport? > > -- > Jason Liu > > > On Wed, May 10, 2023 at 1:16 AM <mcalh...@macports.org > <mailto:mcalh...@macports.org>> wrote: >> The package opencolorio uses CMake to find minizip-ng. >> The minizip-ng’s CMake files assume that the CMake files of zstd exist. >> However, the CMake files of zstd are installed if and only if zstd is built >> with CMake (*not* make). >> According to the README.md of zstd, "`make` is the officially maintained >> build system of this project.” >> Further, zstd is a dependency of clang. >> >> My proposed solution is to create a subport of zstd that just installed the >> CMake files >> (https://github.com/macports/macports-ports/pull/18605/). >> >> This is *far* from an ideal solution, and I was hoping someone else would >> have a better idea. >> >> Thanks, >> Marcus