diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-21 15:09:44 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-08-21 15:09:44 +0000 |
commit | 6aa7d2f1ef439822a3ea6c03df5f26aed7f1d329 (patch) | |
tree | ef3492efff4f730eb3990ca83652b649fadf9370 /Mk | |
parent | - Update to 7.1.027. (diff) |
Nullify RUBY_WITH_PTHREAD for FreeBSD 5.1-RELEASE and later.
I have tested a few modules that worked fine. I hope such things
as ruby_r will die soon.
For FreeBSD 4.x and prior, ruby_r will forever be needed because
the interpreter (ruby) linked with libc.so crashes when a module
that is (indirectly) linked with libc_r.so, because stdio and stuff
get inconsitent inside of them.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 821162dedc2b..a6daf4513b71 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -184,6 +184,10 @@ CONFIGURE_TARGET= # empty RUBY_CONFIGURE_ARGS+= --target="${RUBY_ARCH}" --program-prefix="" +.if ${OSVERSION} >= 501000 +.undef RUBY_WITH_PTHREAD +.endif + .if defined(RUBY_WITH_PTHREAD) RUBY_CONFIGURE_ARGS+= --with-libc_r=yes RUBY_R= _r |