summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-31 19:07:18 +0000
committertv <tv@pkgsrc.org>2005-10-31 19:07:18 +0000
commit6c348a80af23287961a16406012dc000954396c0 (patch)
tree1b52906d4f5b724e9cd8982fddb6a4b42b9e1531 /mk/platform
parentbbf299c9e07f1d359456ac6ce0c63a3f14e3cc18 (diff)
downloadpkgsrc-6c348a80af23287961a16406012dc000954396c0.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