Date: Sat, 05 Feb 2005 14:44:27 -0600 From: "Jeremy Messenger" <mezz7@cox.net> To: "Michael Nottebrock" <michaelnottebrock@gmx.net> Cc: ports-committers@freebsd.org Subject: Re: 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 ... Message-ID: <opslqrwdau9aq2h7@mezz.mezzweb.com> In-Reply-To: <200502051728.56341.michaelnottebrock@gmx.net> References: <200502050459.j154xROQ094820@repoman.freebsd.org> <opslpoept99aq2h7@mezz.mezzweb.com> <200502051728.56341.michaelnottebrock@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Feb 2005 17:28:52 +0100, Michael Nottebrock
<michaelnottebrock@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@cox.net - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opslqrwdau9aq2h7>
