cvs commit: ports/devel/avr-libc Makefile

Ruslan Ermilov ru at FreeBSD.org
Mon May 19 04:27:18 PDT 2003


On Mon, May 19, 2003 at 02:21:09PM +0300, Ruslan Ermilov wrote:
> On Mon, May 19, 2003 at 03:55:29AM -0700, Kris Kennaway wrote:
> > On Mon, May 19, 2003 at 01:46:04PM +0300, Ruslan Ermilov wrote:
> > > On Mon, May 19, 2003 at 11:54:35AM +0200, Joerg Wunsch wrote:
> > > > As Ruslan Ermilov wrote:
> > > > 
> > > > > Just as a quick note, the cross-compilation issues (for normal world
> > > > > builds) from bsd.cpu.mk are handled by setting NO_CPU_CFLAGS.
> > > > 
> > > > That's exactly what i've got in the Makefile (long since, and FreeBSD
> > > > 5.x is the only Unix that requires a hack like this to get a
> > > > cross-compilation working).  Yet, it has been broken again.  People
> > > > seem to care more about creeping featurism these days than about a
> > > > good and stable development environment.  Sigh.
> > > > 
> > > Hm, so what's broken then?  If NO_CPU_CFLAGS is set, the effect
> > > of bsd.cpu.mk is null, if I'm reading the code correctly.  Can
> > > you please show me the actual error, as I can't find it anywhere
> > > on bento.
> > 
> > The error appears to be that bsd.cpu.mk adds -mcpu=pentiumpro even if
> > NO_CPU_CFLAGS is specified (see r1.13).  Joerg's cross-compiler port
> > is failing because the cross-gcc is being executed with the invalid
> > -mcpu option.
> > 
> BTW, rev. 1.19 to port's makefile also broke it; USE_BZIP2 was
> defined too late to set the EXTRACT_SUFX properly.
> 
... and revision 1.20 doesn't fix this either:

allmouth# make fetch
>> avr-libc-2003.05.11.tar.gz is not in /CURRENT/usr/ports/devel/avr-libc/distinfo.
>> Either /CURRENT/usr/ports/devel/avr-libc/distinfo is out of date, or
>> avr-libc-2003.05.11.tar.gz is spelled incorrectly.
*** Error code 1
Stop in /CURRENT/usr/ports/devel/avr-libc.




Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software AG,
ru at FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20030519/0bfe56e9/attachment.bin


More information about the cvs-ports mailing list