Subject: documentation for CHECK_BUILTIN and builtin.mk?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/19/2004 19:16:27
converters/libiconv/builtin.mk has:

CHECK_BUILTIN.iconv?=   no
.if !empty(CHECK_BUILTIN.iconv:M[yY][eE][sS])
USE_BUILTIN.iconv=      yes
.endif

But I don't see where CHECK_BUILTIN.iconv would be set otherwise.

So with gettext (another example) it will never use the native version.

I had to force CHECK_BUILTIN.gettext=yes in my /etc/mk.conf.

Shouldn't the buildlink3 system or the builtin.mk files set all
CHECK_BUILTIN.whatever to yes by default.

Where is this documented?

   Jeremy C. Reed
   http://bsd.reedmedia.net/