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
Fri Feb 4 22:30:41 PST 2005
On Sat, 5 Feb 2005 04:59:26 +0000 (UTC), Akinori MUSHA <knu at FreeBSD.org>
wrote:
> knu 2005-02-05 04:59:26 UTC
>
> FreeBSD ports repository
>
> Modified files:
> Mk bsd.ruby.mk
> lang Makefile
> . UPDATING
> lang/ruby18 Makefile pkg-plist
> lang/ruby16 Makefile pkg-plist
> devel/ruby-gnustep Makefile
> devel/ruby-pcsc-lite Makefile
> devel/ruby-sdl Makefile
> graphics/ruby-opengl Makefile
> print/ruby-panda Makefile
> textproc/ruby-sary Makefile
> Removed files:
> lang/ruby18_r Makefile
> lang/ruby16_r Makefile
> Log:
> The slippery pthread support for systems prior to 502102 has been
> dropped and the lang/ruby16_r and lang/ruby18_r ports have been
> removed, since no one seems to appreciate the partially working
> solution.
>
> 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}). Otherwise, everything
works fine by default here with ruby-gtk2/ruby-gnome2 in FreeBSD 5.x. I
have no idea for FreeBSD 4.x and it will be insteresting to know if they
work, email me if one of you that have FreeBSD 4.x.
Do I have to do same things on other ports that what you did with
ruby-opengl and others that required pthread?
Cheers,
Mezz
> The --march=cputype flag is disabled because it gets ruby to
> malfunction and fail to build. I don't know if the problem is in
> libpthread or in gcc.
>
> (It really makes me wonder if they had actually tested before asking
> me to do this somewhat risky change ;-)
--
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