summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-12-09 01:22:07 +0000
committergrant <grant@pkgsrc.org>2002-12-09 01:22:07 +0000
commit1fb16f97a60f15a32e2dae52c648435bdc0dc20a (patch)
tree478173479a03eb4fae1347dc11057cde960a711b /mk
parent1da6902c30e6ab02a8f2a46dfd2cba803c2c82f4 (diff)
downloadpkgsrc-1fb16f97a60f15a32e2dae52c648435bdc0dc20a.tar.gz
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.
Diffstat (limited to 'mk')
-rw-r--r--mk/defs.SunOS.mk6
1 files changed, 5 insertions, 1 deletions
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