Re: Installing zstd CMake files

2023-05-10 Thread mcalhoun
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  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  > 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



Re: Installing zstd CMake files

2023-05-10 Thread Jason Liu
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  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
>


Installing zstd CMake files

2023-05-09 Thread mcalhoun
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