FreeBSD Port: ruby18-1.8.2_2

Jeremy Messenger mezz7 at cox.net
Mon Feb 21 16:01:13 PST 2005


Removing one freebsd-ports at FreeBSD.org from the CC, please don't double it.

On Tue, 22 Feb 2005 00:39:23 +0100, Jose M Rodriguez  
<josemi at freebsd.jazztel.es> wrote:

> El Martes, 22 de Febrero de 2005 00:10, Jeremy Messenger escribió:
>> On Tue, 22 Feb 2005 09:05:00 +1000, Mark Sergeant
>>
>> <msergeant at snsonline.net> wrote:
>> > On 22/02/2005, at 09:03, Jeremy Messenger wrote:
>> >> On Mon, 21 Feb 2005 11:49:54 -0800, Kris Kennaway
>> >> <kris at obsecurity.org>
>> >>
>> >> wrote:
>> >>> On Mon, Feb 21, 2005 at 02:09:12PM -0500, Vivek Khera wrote:
>> >>>> On Feb 21, 2005, at 1:50 PM, Mike Jakubik wrote:
>> >>>> >There seems to be a problem installing ruby18 on 5-STABLE
>> >>>> > AMD64. It compiles cleanly however.
>> >>>> <snip/>
>>
>> My lastest patch was:
>> http://people.freebsd.org/~mezz/diff/ruby18.diff
>> <snip/>
>
> A simple look notes a little problem: You must do the CFLAGS:= after
> <bsd.port.pre.mk>

I don't think it needs.. It works fine here:

======================================
# pwd
/usr/ports/lang/ruby18

# make -V CFLAGS
-O -pipe -g

# make
[...configure...]
===>  Building for ruby-1.8.2_2
cc -O -pipe -g   -fPIC -I. -I. -c main.c
cc -O -pipe -g   -fPIC -I. -I. -c dmyext.c
cc -O -pipe -g   -fPIC -I. -I. -c array.c
cc -O -pipe -g   -fPIC -I. -I. -c bignum.c
[...goes on...]
======================================

Feel free to point me if I am wrong.

> Also, for really disable options, you may try:
> CFLAGS:=	-O ${CFLAGS:N-O*:N-march=*:N-mcpu=*:N-mtune=*}

They aren't in FreeBSD's default settings, but it can be add if it matters.

Cheers,
Mezz

> --
>   josemi


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list