pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add Autoconf overrides that prevent recognition of ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4a5bd473b416
branches: trunk
changeset: 474391:4a5bd473b416
user: tv <tv%pkgsrc.org@localhost>
date: Wed Apr 28 11:11:19 2004 +0000
description:
Add Autoconf overrides that prevent recognition of <poll.h> or poll(2).
diffstat:
mk/defs.Interix.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 3829ba3f8faa -r 4a5bd473b416 mk/defs.Interix.mk
--- a/mk/defs.Interix.mk Wed Apr 28 11:10:37 2004 +0000
+++ b/mk/defs.Interix.mk Wed Apr 28 11:11:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.19 2004/04/27 12:05:16 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.20 2004/04/28 11:11:19 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -155,6 +155,12 @@
CPPFLAGS+= -D_ALL_SOURCE
.endif
+# poll(2) is broken; try to work around it by making autoconf believe
+# it's missing. (Packages without autoconf will need explicit fixing.)
+.ifdef GNU_CONFIGURE
+CONFIGURE_ENV+= ac_cv_header_poll_h=no ac_cv_func_poll=no
+.endif
+
# Interix gcc "PIC" is broken, but non-"PIC" is shlib linkable.
# We need to AVOID -fpic/-fPIC options to gcc.
BUILDLINK_TRANSFORM+= S:-fpic: S:-fPIC:
Home |
Main Index |
Thread Index |
Old Index