Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 03:36:23 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Mark Sergeant" <msergeant@snsonline.net>
Cc:        Garance A Drosihn <drosih@rpi.edu>
Subject:   Re: FreeBSD Port: ruby18-1.8.2_2
Message-ID:  <opsmleaxs29aq2h7@mezz.mezzweb.com>
In-Reply-To: <opsmlb11jb9aq2h7@mezz.mezzweb.com>
References:  <64348.207.219.213.162.1109011818.squirrel@207.219.213.162> <a5d5f155be4e65d41f9775df96135160@khera.org> <20050221194954.GA49438@xor.obsecurity.org> <opsmkkzit99aq2h7@mezz.mezzweb.com> <6a2d0a658b1cfe9503183eb978e4e2d6@snsonline.net> <opsmklbltj9aq2h7@mezz.mezzweb.com> <p0621020abe40281a2ae3@[128.113.24.47]> <opsmk268vc9aq2h7@mezz.mezzweb.com> <p06210211be4077eee0cc@[128.113.24.47]> <opsmk4tyj19aq2h7@mezz.mezzweb.com> <opsmladoez9aq2h7@mezz.mezzweb.com> <fe58da1363cefb8f0cbf9c24ba7b2aa9@snsonline.net> <opsmlb11jb9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Feb 2005 02:47:51 -0600, Jeremy Messenger <mezz7@cox.net> wrote:

> On Tue, 22 Feb 2005 18:33:19 +1000, Mark Sergeant  
> <msergeant@snsonline.net> wrote:
>
>>
>> On 22/02/2005, at 18:11, Jeremy Messenger wrote:
>>
>>> On Tue, 22 Feb 2005 00:11:48 -0600, Jeremy Messenger <mezz7@cox.net>  
>>> wrote:
>>>
<snip>
>>> Oops, wrong person, it's lofi.. My plan of tonight or tomorrow is to  
>>> still use this new patch then reinstall it. Also, rebuild/reinstall  
>>> all apps that depend on ruby. After that I am going to test on few  
>>> ruby ports that need threads (ruby-opengl, ruby-gtk2, ruby-gnome2 and  
>>> etc) to see if they still will working or not. I am hoping that lofi  
>>> will have time to test it on FreeBSD 4.x.
>>>
>>> New patch: http://people.freebsd.org/~mezz/diff/ruby18.diff
>>>
>>> Be sure to 'rm -rf /usr/ports/lang/ruby18/*' and update your ports  
>>> tree before you use this patch. The difference between ruby-1.8.2_2 to  
>>> new patch is that disable thread again, teach ruby about ${PTHREAD_*},  
>>> and use patches from Gentoo/Debian.
>>>
>>> If this new patch doesn't work, then I guess one of us will have to  
>>> mark ruby-opengl and few other that require threads as broke for on  
>>> sparc64 and other ${ARCH} and disable thread support in ruby. It's a  
>>> lot better than re-create a voodoo '_r'.
>>>
>>> Cheers,
>>> Mezz
>>>
>>
>> Works like a charm on AMD64, thanks heaps !
>
> wow, you are quick! There is a very small problem with this new patch  
> thought.. It doesn't add ${PTHREAD_*} even thought I told it to do.  
> Anyone is welcome to poke around it.. I am going to sleep and will  
> trying to poke it more to see if I can do anything with it.

I can't sleep, so I think I might have fixed it to get ${PTHREAD_*} add. I  
haven't test it in the runtime yet, but I will in the morning. It's  
updated in the same place.

http://people.freebsd.org/~mezz/diff/ruby18.diff

To save your time to not apply patch again.. All I did is..

Change from:
======================================
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
======================================

To:
======================================
LIBS="${PTHREAD_LIBS}"
======================================

Cheers,
Mezz

> Cheers,
> Mezz
>
>> Mark


-- 
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?opsmleaxs29aq2h7>