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 | 17ffd4ad8f302a55b7749506d71c274b2e8541a0 (patch) | |
tree | 209d12fe39df6b91b162774b0a4de244518334d6 /lang | |
parent | 69026def41500c8d4b6293fee8677f697b705b68 (diff) | |
download | pkgsrc-17ffd4ad8f302a55b7749506d71c274b2e8541a0.tar.gz |
Make sure to revert pthread handling as before.
Diffstat (limited to 'lang')
-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" |