Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2005 00:31:27 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Akinori MUSHA" <knu@freebsd.org>
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:  <opslpoept99aq2h7@mezz.mezzweb.com>
In-Reply-To: <200502050459.j154xROQ094820@repoman.freebsd.org>
References:  <200502050459.j154xROQ094820@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Feb 2005 04:59:26 +0000 (UTC), Akinori MUSHA <knu@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@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?opslpoept99aq2h7>