Index | Thread | Search

From:
Bjorn Ketelaars <bket@openbsd.org>
Subject:
Re: zstd: enable pzstd
To:
Nick Owens <mischief@offblast.org>, "Kirill A. Korinsky" <kirill@korins.ky>
Cc:
ports@openbsd.org
Date:
Wed, 6 Nov 2024 22:17:47 +0100

Download raw body.

Thread
On Wed 06/11/2024 21:44, Kirill A. Korinsky wrote:
> 
> re-inline patch with micro tweak, added original input from Nick Owens, and
> Cc'ed Bjorn Ketelaars (maintaner)

This needs a bit more work.

pzstd is written in C++ (C++14). Please have a look at the output of
'make port-lib-depends-check'. I think you need to add
${COMPILER_LIBCXX} to WANTLIB. Additionally, please have a look if it is
needed to add 'COMPILER=base-clang ports-gcc', and if it is needed to
add CXX="${CXX}" and CXXFLAGS="${CXXFLAGS}" to MAKE_ENV.

Most important is that building is tested on arches other than amd64.
Unfortunately, I can not help with that.