Subject: Re: libiconv/buildlink2.mk "public" variable
To: Mark Davies <email@example.com>
From: Dan McMahill <dmcmahill@NetBSD.org>
Date: 10/30/2003 18:52:23
On Fri, 31 Oct 2003 11:20:12 +1300
Mark Davies <firstname.lastname@example.org> wrote:
> From: Dan McMahill <dmcmahill@NetBSD.org>
> Date: Thu, 30 Oct 2003 17:11:23 -0500
> > It's been sugested that perhaps the _USE_ICONV variable set in the
> > libiconv buildlink2.mk file should maybe be changed to or set aan
> > additional variable, USE_GNU_ICONV, so that packages such as glib2
> > that have some special arguments for configure that are needed when
> > using libiconv instead of the native iconv can do things like:
> > .if defined(USE_GNU_ICONV)
> > CONFIGURE_ARGS+= --with-iconv=gnu
> > .endif
> > Any comments on this?
> Actually the suggestion was USING_GNU_ICONV, but I didn't really like
> that name.
> There is already a USE_GNU_ICONV for when you want to override the
> default and say that you _must_ use the gnu libiconv package.
> What we need is something that tells us that we have decided to
> actually use
> the libiconv package. ie that either USE_GNU_ICONV=yes *or* using the
> is the default for the platform. This is what the _USE_ICONV variable
> currently does.
looks like I typed before reading enough. How about ICONV_IS_GNU as the
public version of _USE_ICONV and leave it up to the specific packages to
see what if anything they want to do with it?