From owner-freebsd-ports@FreeBSD.ORG Tue Feb 22 00:01:13 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 296B016A4CE for ; Tue, 22 Feb 2005 00:01:13 +0000 (GMT) Received: from lakermmtao02.cox.net (lakermmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EB8343D2F for ; Tue, 22 Feb 2005 00:01:12 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao02.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20050222000111.BKRD22208.lakermmtao02.cox.net@mezz.mezzweb.com>; Mon, 21 Feb 2005 19:01:11 -0500 To: "Jose M Rodriguez" References: <64348.207.219.213.162.1109011818.squirrel@207.219.213.162> <6a2d0a658b1cfe9503183eb978e4e2d6@snsonline.net> <200502220039.24771.josemi@freebsd.jazztel.es> Message-ID: Date: Mon, 21 Feb 2005 18:02:02 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200502220039.24771.josemi@freebsd.jazztel.es> User-Agent: Opera M2/7.54 (Linux, build 955) cc: ports@freebsd.org cc: Vivek Khera cc: Mark Sergeant cc: Kris Kennaway Subject: Re: FreeBSD Port: ruby18-1.8.2_2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 00:01:13 -0000 Removing one freebsd-ports@FreeBSD.org from the CC, please don't double it. On Tue, 22 Feb 2005 00:39:23 +0100, Jose M Rodriguez wrote: > El Martes, 22 de Febrero de 2005 00:10, Jeremy Messenger escribió: >> On Tue, 22 Feb 2005 09:05:00 +1000, Mark Sergeant >> >> wrote: >> > On 22/02/2005, at 09:03, Jeremy Messenger wrote: >> >> On Mon, 21 Feb 2005 11:49:54 -0800, Kris Kennaway >> >> >> >> >> >> 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. >> >>>> >> >> My lastest patch was: >> http://people.freebsd.org/~mezz/diff/ruby18.diff >> > > A simple look notes a little problem: You must do the CFLAGS:= after > 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@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org