Installing zstd CMake files

mcalhoun at macports.org mcalhoun at macports.org
Wed May 10 16:40:25 UTC 2023


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 <jasonliu at 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 <mcalhoun at macports.org <mailto:mcalhoun at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20230510/4c28fc4a/attachment.htm>


More information about the macports-dev mailing list