summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authorminskim <minskim>2008-06-22 04:15:54 +0000
committerminskim <minskim>2008-06-22 04:15:54 +0000
commite3fdf8b96b2cf4a79de759ebd20ee42d7f70b91c (patch)
treed0c230f6cb66c48c47887848c6272fcc9adcc230 /lang/ruby
parentb42792a74eb2c0daa430cf33ecd1b70b79e75604 (diff)
downloadpkgsrc-e3fdf8b96b2cf4a79de759ebd20ee42d7f70b91c.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/ruby')
-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