summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
diff options
context:
space:
mode:
authorgrant <grant>2002-12-09 01:22:07 +0000
committergrant <grant>2002-12-09 01:22:07 +0000
commit8d4098343b5b218acea5cf2379d01b1c108b5dae (patch)
tree478173479a03eb4fae1347dc11057cde960a711b /mk/defs.SunOS.mk
parentbd6b40c4d05b18ac80dd15ee9b36d546585a3952 (diff)
downloadpkgsrc-8d4098343b5b218acea5cf2379d01b1c108b5dae.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/defs.SunOS.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