summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-10 04:30:29 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-10 04:30:29 +0000
commit914625b099e7be2995c2d8d2eaf51ea90c8b9794 (patch)
treed3873523c5cd988db3b118578b2b6bb7c3537bbc /lang
parentc584ea42dd9719deb05aec52cf28129f5ae8f14d (diff)
downloadpkgsrc-914625b099e7be2995c2d8d2eaf51ea90c8b9794.tar.gz
DragonFly 1.8.0 has a broken getucontext, so forcefully disable it.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18-base/Makefile9
1 files changed, 8 insertions, 1 deletions
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}
@@ -54,6 +54,13 @@ 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)
#
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"