diff options
author | taca <taca> | 2006-09-13 12:56:46 +0000 |
---|---|---|
committer | taca <taca> | 2006-09-13 12:56:46 +0000 |
commit | 6800a47b5e932ead4ffa791f2842d56e8d9035e7 (patch) | |
tree | a5f5512155fb4e91e08b9998b3b620ac2a167f95 /lang/ruby/Makefile.common | |
parent | 882eca2c771567146852212b9e6d725bdcc71313 (diff) | |
download | pkgsrc-6800a47b5e932ead4ffa791f2842d56e8d9035e7.tar.gz |
- Introduce experimental RUBY_USE_PTHREAD; using pthread could be disabled
setting to "no" in /etc/mk.conf. (Default is "yes" on most platform.)
- Correct condition of including pthread.buildlink3.mk.
Tested on NetBSD current, SuSE Linux 9.3 and DragonFly BSD 1.6.0.
Thanks for advise from Vincent Hourdin and Joerg Sonnenberger.
Diffstat (limited to 'lang/ruby/Makefile.common')
-rw-r--r-- | lang/ruby/Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/Makefile.common b/lang/ruby/Makefile.common index afba2c7187a..ef59bace6fc 100644 --- a/lang/ruby/Makefile.common +++ b/lang/ruby/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2006/09/08 02:36:51 taca Exp $ +# $NetBSD: Makefile.common,v 1.13 2006/09/13 12:56:46 taca Exp $ # # Ruby base distribution common definition @@ -41,7 +41,7 @@ PLIST_SUBST+= RUBY_SHLIBVER=${RUBY_SHLIBVER:Q} \ .include "replace.mk" -.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +.if !empty(RUBY_USE_PTHREAD:M[nN][oO]) CONFIGURE_ARGS+= --disable-pthread .else CONFIGURE_ARGS+= --enable-pthread |