Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 18:08:06 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Thomas Moestl <tmoestl@gmx.net>
Cc:        re-builders@freebsd.org, Scott Long <scott_long@btc.adaptec.com>, Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: Something's wrong with ports/devel...
Message-ID:  <XFMail.20030110180806.jhb@FreeBSD.org>
In-Reply-To: <20030110225059.GF1732@crow.dom2ip.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10-Jan-2003 Thomas Moestl wrote:
> On Fri, 2003/01/10 at 23:41:15 +0100, Thomas Moestl wrote:
> 
>> See the attached patch. S///g does hang (unsurprisingly).
>> 
>> Index: Makefile
>> ===================================================================
>> RCS file: /d/ncvs/ports/devel/m6811-gcc/Makefile,v
>> retrieving revision 1.20
>> diff -u -r1.20 Makefile
>> --- Makefile 24 Dec 2002 09:47:20 -0000      1.20
>> +++ Makefile 10 Jan 2003 22:41:38 -0000
>> @@ -28,7 +28,7 @@
>>  
>>  USE_GMAKE=  yes
>>  HAS_CONFIGURE=      yes
>> -CFLAGS:=    ${CFLAGS:S/${_CPUCFLAGS}//g}
>> +CFLAGS:=    ${CFLAGS:S/\${_CPUCFLAGS}//g}
>>  PLIST_SUB=  GCC_VER=${PORTVERSION}
>>  CONFIGURE_ARGS=             --prefix=${PREFIX} --target=m6811-elf   \
>>                      --program-prefix=m6811-elf-
> 
> Doh, that does of course break the substitution if _CPUCFLAGS is
> indeed defined. More correct is:

How about using NO_CPUCFLAGS?  That's what it exists for.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030110180806.jhb>