summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2008-06-22 04:15:54 +0000
committerminskim <minskim@pkgsrc.org>2008-06-22 04:15:54 +0000
commita227983f160b04b32c39b6852f70053d3d2c13e5 (patch)
treed0c230f6cb66c48c47887848c6272fcc9adcc230 /lang
parent556fa4bc85558f4306098b9c29020982f9750973 (diff)
downloadpkgsrc-a227983f160b04b32c39b6852f70053d3d2c13e5.tar.gz
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 (limited to 'lang')
-rw-r--r--lang/ruby/rubyversion.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index 34aacae5377..99e1fd13b60 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