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