summaryrefslogtreecommitdiff
path: root/mk/platform/Interix.mk
diff options
context:
space:
mode:
authortv <tv>2005-10-31 19:07:18 +0000
committertv <tv>2005-10-31 19:07:18 +0000
commit6fab539ee11539fa44f7b234b54f04e099c63140 (patch)
tree1b52906d4f5b724e9cd8982fddb6a4b42b9e1531 /mk/platform/Interix.mk
parentb8b1db2b29645711711a45cbc20d0dee8bcbdf44 (diff)
downloadpkgsrc-6fab539ee11539fa44f7b234b54f04e099c63140.tar.gz
Force recognition of hstrerror(3) on Interix when GNU_CONFIGURE.
Diffstat (limited to 'mk/platform/Interix.mk')
-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