Removed sdk/configure patch which removes the stdc++fs check, add .if
${PROPERTIES:Mclang} + sed to the Makefile as post-patch.

Stuart Henderson <s...@spacehopper.org> ezt írta (időpont: 2023. jún.
23., P, 18:02):
>
> On 2023/06/23 17:37, Robert Bagdan wrote:
> > >
> > > can replicate the linking failure, but haven't looked into it.
> > >
> >
> > I patched the configure script of sdk to not add -lstdc++fs as
> > LDFLAGS, I hope this fixes the linking error.
> > I think you have installed gcc so the configure script found
> > libstdc++fs, which is causing the linking error. #fixme
> >
> >
> > --
> > kikadf
>
> ah, that might need to be made conditional, presumably it is needed if
> you build on an arch which doesn't use clang.
>
> easiest way is probably to use sed rather than a patch and do e.g.
>
> .include <bsd.port.arch.mk>
> .if ${PROPERTIES:Mclang}
> post-extract:
>         sed -i <...>
> .endif
>


-- 
kikadf

Attachment: megacmd.tar.gz
Description: application/gzip

Reply via email to