Subject: Re: CVS commit: pkgsrc/converters/libiconv
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 04/27/2004 00:13:26
On Mon, 26 Apr 2004, Johnny C. Lam wrote:

> 	pkgsrc/converters/libiconv:
> Log Message:
> Do previous in a different way.  We want USE_GNU_ICONV to always use
> a GNU libiconv, whether it be builtin or not, and PREFER_{NATIVE,PKGSRC}
> can be used to decide which iconv we use if USE_GNU_ICONV isn't defined.
> On NetBSD, the native iconv implementation (if it exists) is considered
> GNUish enough unless USE_GNU_ICONV is explicitly defined.

I don't want converters/libiconv ever installed under Linux. What can I

My Makefile has:

.include "../../mk/"
.if ${OPSYS} == "Linux"
# don't use PKG_SKIP_REASON yet so we can make sure the buildlinking is correct
PKG_FAIL_REASON+=       "${PKGNAME} is not needed for Linux; it is
included in GNU libc."

What can we do for the converters/libiconv/ so I can choose to
never use libiconv package even if USE_GNU_ICONV is defined?

I think I provided to this list before a patch for this. It could check
/usr/include/iconv.h for "This file is part of the GNU C Library."

(Most Linux distributions don't even have any libiconv package. It is not

   Jeremy C. Reed