pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform Force recognition of hstrerror(3) on Inter...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f867b5e846f4
branches:  trunk
changeset: 501942:f867b5e846f4
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Oct 31 19:07:18 2005 +0000

description:
Force recognition of hstrerror(3) on Interix when GNU_CONFIGURE.

diffstat:

 mk/platform/Interix.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5eff4d56fe71 -r f867b5e846f4 mk/platform/Interix.mk
--- a/mk/platform/Interix.mk    Mon Oct 31 18:58:38 2005 +0000
+++ b/mk/platform/Interix.mk    Mon Oct 31 19:07:18 2005 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index