cvs commit: ports/Mk bsd.ruby.mk ports/lang Makefile ports
UPDATING ports/lang/ruby18 Makefile pkg-plist ports/lang/ruby18_r
Makefile ports/lang/ruby16 Makefile pkg-plist ports/lang/ruby16_r
Makefile ports/devel/ruby-gnustep Makefile ...
Jeremy Messenger
mezz7 at cox.net
Sat Feb 5 12:43:44 PST 2005
On Sat, 5 Feb 2005 17:28:52 +0100, Michael Nottebrock
<michaelnottebrock at gmx.net> wrote:
> On Saturday, 5. February 2005 07:31, Jeremy Messenger wrote:
>> > Good news is that the pthread support of lang/ruby18 is now enabled
>> by
>> > default for newer systems, which means the ruby interpreter is
>> linked
>> > with libpthread. This will allow threaded extension libraries to
>> run
>> > and work properly on those systems.
>>
>> Thanks! But there is a very simple problem is that it uses '-lpthread',
>> which it should be '-pthread' (${PTHREAD_LIBS}).
>
> Ruby's configure check to determine the pthread library/flags to use
> reliably ends up doing the wrong thing on every version of FreeBSD
> (except obsolete 5-CURRENT).
>
> Please consider this patch, it circumvents ruby's pthread-stuff in
> configure (it essentially does the same thing however, just with the
> correct libraries & flags). This additionally makes thread support
> available on every version of FreeBSD that has threads, including
> 5.2.1-Release and 4.x.
Works, but I now get loads of weird warning. Without patch, I don't get
any warning. The warning looks like this:
===================================
/usr/local/lib/ruby/site_ruby/1.8/glib2.rb:147: warning: rb_f_lambda() is
deprecated; use rb_block_proc() instead
/usr/local/lib/ruby/site_ruby/1.8/glib2.rb:147: warning: rb_f_lambda() is
deprecated; use rb_block_proc() instead
/usr/local/lib/ruby/site_ruby/1.8/glib2.rb:147: warning: rb_f_lambda() is
deprecated; use rb_block_proc() instead
[...goes on at the every click of button, menu and etc...]
===================================
Thanks!
Cheers,
Mezz
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
More information about the cvs-ports
mailing list