summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authortv <tv>2005-10-31 19:07:18 +0000
committertv <tv>2005-10-31 19:07:18 +0000
commit97eb5c5cf111cf888d1ea85d465bf98d04634b0f (patch)
tree1b52906d4f5b724e9cd8982fddb6a4b42b9e1531 /mk/platform
parentd45a6ee3876c9308b0a56f8fef5c1ea6e6d634c2 (diff)
downloadpkgsrc-97eb5c5cf111cf888d1ea85d465bf98d04634b0f.tar.gz
Force recognition of hstrerror(3) on Interix when GNU_CONFIGURE.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Interix.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/platform/Interix.mk b/mk/platform/Interix.mk
index e22cbdfcb1f..d3f26eac6a0 100644
--- a/mk/platform/Interix.mk
+++ b/mk/platform/Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Interix.mk,v 1.41 2005/10/26 16:57:46 tv Exp $
+# $NetBSD: Interix.mk,v 1.42 2005/10/31 19:07:18 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -121,6 +121,9 @@ SERIAL_DEVICES?= /dev/tty00 /dev/tty01 /dev/tty02 /dev/tty03
# it's missing. (Packages without autoconf will need explicit fixing.)
CONFIGURE_ENV+= ${GNU_CONFIGURE:Dac_cv_header_poll_h=no ac_cv_func_poll=no}
+# Interix has a hstrerror(3), but it's a macro, not a function.
+CONFIGURE_ENV+= ${GNU_CONFIGURE:Dac_cv_func_hstrerror=yes}
+
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.
_OPSYS_MAX_CMDLEN_CMD= ${ECHO} 262144