* On 2022-09-25 at 13:24 BST, Frédéric Fauberteau wrote:
As result of searching libiconv in libraries (among others): % find /Library -name "*iconv*" /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/iconv.h /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libiconv.2.4.0.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libiconv.2.tbd /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/lib/libiconv.tbd I think maybe BUILDINK_FIND_LIBS is misled by the tbd files…
We can no longer use native on macOS at all since they got rid of shared libraries. You need to bootstrap with --prefer-pkgsrc=yes.
I can fix it with this patch:
I think we're missing a patch in bootstrap to force PREFER_PKGSRC on newer macOS, rather than adding overrides for everything, similar to how OpenBSD and some Linux are handled.
-- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com