BSD-licensed libiconv in base system


The work is mostly completed. The initial code has been obtained from NetBSD's implementation, which was part of the The following items has been completed:


First phase

Getting BSD iconv into the base system while still letting ports link to GNU libiconv by default.

Second phase

Evaluating if the compatibility level is high enough to use BSD iconv for ports instead of GNU in the following manner. USE_ICONV could be set to yes, gnu or libc. In the first case the port declares that it accepts both implementations and the user could indicate his preference by setting the WANT_ICONV knob either to gnu or to libc. The default would be libc if BSD iconv proves good enough for wide usage. The latter two cases would indicate that the port requires the specified implementation.

GáborSoC2009 (last edited 2020-12-20T00:11:35+0000 by SashaVigole)