pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby18-base Make ucontext(3) to apply to all Drag...
details: https://anonhg.NetBSD.org/pkgsrc/rev/916ac17170fe
branches: trunk
changeset: 396834:916ac17170fe
user: hasso <hasso%pkgsrc.org@localhost>
date: Tue Aug 04 19:47:16 2009 +0000
description:
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:
lang/ruby18-base/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 2442b4486c17 -r 916ac17170fe lang/ruby18-base/Makefile
--- a/lang/ruby18-base/Makefile Tue Aug 04 13:58:57 2009 +0000
+++ b/lang/ruby18-base/Makefile Tue Aug 04 19:47:16 2009 +0000
@@ -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@localhost
HOMEPAGE= ${RUBY_HOMEPAGE}
@@ -64,9 +64,10 @@
.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
Home |
Main Index |
Thread Index |
Old Index