FreeBSD Port: ruby18-1.8.2_2

Jose M Rodriguez josemi at freebsd.jazztel.es
Tue Feb 22 00:36:54 PST 2005


El Martes, 22 de Febrero de 2005 06:39, Jeremy Messenger escribió:
> On Tue, 22 Feb 2005 01:38:13 +0100, Jose M Rodriguez
>
> <josemi at freebsd.jazztel.es> wrote:
> > El Martes, 22 de Febrero de 2005 01:02, Jeremy Messenger escribió:
> >> Removing one freebsd-ports at FreeBSD.org from the CC, please don't
> >> double it.
>
> Jose, please read above again.
>

think done.

> >> On Tue, 22 Feb 2005 00:39:23 +0100, Jose M Rodriguez
> >>
<snip/>
> > Yes. The CFLAGS you are tweak _may_ not be the ones used. The most
> > safe place to do this is what I point you.
> >
> > You may see this kind of construct in ports like textproc/openjade.
>
> I still don't see your point. The CFLAGS can be outside of
> <bsd.port.pre.mk> and <bsd.port.post.mk> as I have shown you that it
> works fine either way.
>
make := assignments are expanded as seen.  And FreeBSD ports mk really 
do CFLAGS transforms.

Try put a march= in /etc/make.conf CFLAGS or define CPUTYPE.  You may 
see how make transforms CFLAGS after your tweak and the -march is still 
imported to the used CFLAGS. (At last, this was some kinda of FAQ).

Maybe that ruby problems with this are gone with the src patches.

<snip/>

--
  josemi


More information about the freebsd-ports mailing list