diff options
author | taca <taca@pkgsrc.org> | 2006-09-08 23:32:13 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-09-08 23:32:13 +0000 |
commit | ab7da32b547e2544dbf045ccc7508d27a3108ec1 (patch) | |
tree | 209d12fe39df6b91b162774b0a4de244518334d6 | |
parent | 67f6f7b1f587149ace0f7e7c7293bdb9e7a3d131 (diff) | |
download | pkgsrc-ab7da32b547e2544dbf045ccc7508d27a3108ec1.tar.gz |
Make sure to revert pthread handling as before.
-rw-r--r-- | lang/ruby/rubyversion.mk | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index deedf4685e1..e8f48b6f0d4 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.24 2006/09/08 02:36:51 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.25 2006/09/08 23:32:13 taca Exp $ # .if !defined(_RUBYVERSION_MK) @@ -147,6 +147,12 @@ RUBY_NOSHLIBMAJOR= "@comment " RUBY_NOSHLIBMAJOR= .endif +.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-9].*) +RUBY_NOPTHREAD= yes +.else +RUBY_NOPTHREAD= no +.endif + # # RUBY_DLEXT is suffix of extention library. # @@ -259,9 +265,7 @@ RUBY_GENERATE_PLIST = ( \ .endif .if !empty(RUBY_NOVERSION:M[nN][oO]) -# Common macros. -.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M1.[0-9].*) -PTHREAD_OPTS+= native +.if !empty(RUBY_NOPTHREAD:M[nN][oO]) .include "../../mk/pthread.buildlink3.mk" .endif .include "../../mk/bdb.buildlink3.mk" |