pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby Disable pthread on Darwin-9.*-powerpc until ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c1c3e6b71a1a
branches: trunk
changeset: 543710:c1c3e6b71a1a
user: minskim <minskim%pkgsrc.org@localhost>
date: Sun Jun 22 04:15:54 2008 +0000
description:
Disable pthread on Darwin-9.*-powerpc until Ruby Bug #193 is resolved.
http://redmine.ruby-lang.org/issues/show/193
This may break some ruby modules that require pthread, but it is better
than not having a ruby binary at all.
diffstat:
lang/ruby/rubyversion.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 68d21ecbbd25 -r c1c3e6b71a1a lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk Sun Jun 22 03:31:52 2008 +0000
+++ b/lang/ruby/rubyversion.mk Sun Jun 22 04:15:54 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.41 2008/06/20 15:38:45 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.42 2008/06/22 04:15:54 minskim Exp $
#
.if !defined(_RUBYVERSION_MK)
@@ -171,6 +171,10 @@
#
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-9].*)
RUBY_USE_PTHREAD?= no
+.elif !empty(MACHINE_PLATFORM:MDarwin-9.*-powerpc)
+# Workaround for Ruby Bug #193
+# http://redmine.ruby-lang.org/issues/show/193
+RUBY_USE_PTHREAD?= no
.else
RUBY_USE_PTHREAD?= yes
PTHREAD_OPTS+= native
Home |
Main Index |
Thread Index |
Old Index