From a227983f160b04b32c39b6852f70053d3d2c13e5 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 Jun 2008 04:15:54 +0000 Subject: [PATCH] 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. --- lang/ruby/rubyversion.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 34aacae5377f..99e1fd13b60b 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -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 @@ RUBY_DLEXT= so # .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