From c48ec9454bad58eb7d2e539d3e78945a0ad4d465 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 May 2005 00:01:36 +0000 Subject: Use the iconv library in glibc on Linux even if USE_GNU_ICONV is set. --- converters/libiconv/builtin.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/converters/libiconv/builtin.mk b/converters/libiconv/builtin.mk index 86193a3f3f9..dbb0d54feec 100644 --- a/converters/libiconv/builtin.mk +++ b/converters/libiconv/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.6 2004/08/28 06:05:31 jlam Exp $ +# $NetBSD: builtin.mk,v 1.7 2005/05/22 00:01:36 minskim Exp $ .if !defined(_LIBICONV_FOUND) _LIBICONV_FOUND!= \ @@ -104,7 +104,8 @@ USE_BUILTIN.iconv!= \ . endif . endif -. if defined(USE_GNU_ICONV) +. if defined(USE_GNU_ICONV) && \ + (${OPSYS} != "Linux" || !empty(USE_BUILTIN.iconv:M[nN][oO])) . if !empty(IS_BUILTIN.iconv:M[nN][oO]) || \ (${PREFER.iconv} == "pkgsrc") USE_BUILTIN.iconv= no -- cgit v1.2.3