From 914625b099e7be2995c2d8d2eaf51ea90c8b9794 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 10 Jun 2007 04:30:29 +0000 Subject: DragonFly 1.8.0 has a broken getucontext, so forcefully disable it. --- lang/ruby18-base/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lang') diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile index cd394f84354..1465c3f2f95 100644 --- a/lang/ruby18-base/Makefile +++ b/lang/ruby18-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2007/05/30 22:01:54 rillig Exp $ +# $NetBSD: Makefile,v 1.34 2007/06/10 04:30:29 joerg Exp $ # DISTNAME= ${RUBY_DISTNAME} @@ -53,6 +53,13 @@ PLIST_SUBST+= HAS_IO="@comment " PLIST_SUBST+= HAS_IO= .endif +# +# Work around for getucontext(3) +# +.if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0" +CONFIGURE_ENV+= ac_cv_header_ucontext_h=no +.endif + # # work around for getaddrinfo(3) # -- cgit v1.2.3