summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-04 19:47:16 +0000
committerhasso <hasso>2009-08-04 19:47:16 +0000
commitd834ec0588577a3205952ca72a04800fa1274da8 (patch)
tree865e5fe9e7836eb681d67a98a6e291519ebf95ce /lang
parentbd29e3c25a53a966ef7d5f7e7506e3b720b47707 (diff)
downloadpkgsrc-d834ec0588577a3205952ca72a04800fa1274da8.tar.gz
Make ucontext(3) to apply to all DragonFly versions, it's too slow - a
simple sample with two threads is 2 times faster without ucontext(3). Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby18-base/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/ruby18-base/Makefile b/lang/ruby18-base/Makefile
index 70ac8b264e9..320b29adc73 100644
--- a/lang/ruby18-base/Makefile
+++ b/lang/ruby18-base/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.50 2009/04/16 17:11:12 taca Exp $
+# $NetBSD: Makefile,v 1.51 2009/08/04 19:47:16 hasso Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_SUFFIX}
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
-#PKGREVISION=
+PKGREVISION= 1
MAINTAINER= taca@NetBSD.org
HOMEPAGE= ${RUBY_HOMEPAGE}
@@ -64,9 +64,10 @@ PLIST.io= yes
.endif
#
-# Work around for getucontext(3)
+# Work around for ucontext(3). It was broken in older DragonFly
+# versions and is slow in newer ones.
#
-.if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0"
+.if ${OPSYS} == "DragonFly"
CONFIGURE_ENV+= ac_cv_header_ucontext_h=no
.endif