From 1fb16f97a60f15a32e2dae52c648435bdc0dc20a Mon Sep 17 00:00:00 2001 From: grant Date: Mon, 9 Dec 2002 01:22:07 +0000 Subject: Solaris has /usr/include/iconv.h, but it's not GNU iconv. Mark it incompatible. Fixes buildlink2 problems with converters/libiconv, which assumed that iconv was in the base system (on Solaris) due to the existance of /usr/include/iconv.h. --- mk/defs.SunOS.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 8781a6fc7ff..2fb78524817 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.41 2002/12/03 21:13:38 agc Exp $ +# $NetBSD: defs.SunOS.mk,v 1.42 2002/12/09 01:22:07 grant Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -108,6 +108,10 @@ _PREFORMATTED_MAN_DIR= man # directory where catman pages are _USE_GNU_GETTEXT= yes # Use GNU gettext _USE_RPATH= yes # add rpath to LDFLAGS +# Solaris has /usr/include/iconv.h, but it's not GNU iconv, so mark it +# incompatible. +_INCOMPAT_ICONV= SunOS-*-* + .if !defined(DEBUG_FLAGS) _STRIPFLAG_CC?= -s # cc(1) option to strip _STRIPFLAG_INSTALL?= -s # install(1) option to strip -- cgit v1.2.3