I updated megacmd to 1.7.0 release (with sdk-4.31.0b). Official
changelog or release notes not available. I use the new release on
OpenBSD-7.5 amd64, works fine.

Robert Bagdan <kikadf...@gmail.com> ezt írta (időpont: 2023. jún. 26.,
H, 17:25):
>
> 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



-- 
kikadf

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

Reply via email to