diff options
author | tv <tv@pkgsrc.org> | 2004-04-28 11:11:19 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-04-28 11:11:19 +0000 |
commit | b3b780ea83f2053ceddd252b941f28626047e5da (patch) | |
tree | 130fd7a7cdf852657902bf8a97696cb0b9579cb0 | |
parent | 238a2b31dc37bf16fd77813cfbd522cc51c30b9b (diff) | |
download | pkgsrc-b3b780ea83f2053ceddd252b941f28626047e5da.tar.gz |
Add Autoconf overrides that prevent recognition of <poll.h> or poll(2).
-rw-r--r-- | mk/defs.Interix.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk index cfd7ecfe13c..3339537da78 100644 --- a/mk/defs.Interix.mk +++ b/mk/defs.Interix.mk @@ -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 @@ SERIAL_DEVICES?= /dev/tty00 /dev/tty01 /dev/tty02 /dev/tty03 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: |