Subject: Re: arch part of *_FOR_PLATFORM
To: None <tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 11/12/2006 11:06:46
OBATA Akio wrote:
> Hi!
> 
> Now, pkglint say:
> 	if ($arch !~ qr"^(?:\*|i386|alpha|amd64|arc|arm|arm32|cobalt|convex|dreamcast|hpcmips|hpcsh|hppa|ia64|m68k|m88k|mips|mips64|mipsel|mipseb|mipsn32|ns32k|pc532|pmax|powerpc|rs6000|s390|sparc|sparc64|vax|x86_64)$") {
> 		$line->log_warning("Unknown hardware architecture: ${arch}");
> 	}
> 
> But last part of *_FOR_PLATFORM is cpu architecture, isn't it?
> So,
> 	cobalt		=> mipsel	(audio/spiralloops, audio/spiralsynth)
> 	dreamcast	=> sh3el	(audio/spiralloops, audio/spiralsynth)
> 	hpcmips		=> mipsel
> 	hpcsh		=> sh3el
> 	mips		=> mips*	(databases/postgresql??-server, lang/stalin)
> 	pc532		=> ns32k
> and lack of m68010, sh3eb, sh3el and sh5. 
> 
> This perception is correct?

I don't know, and when I wrote that test I just added architectures I 
found in the package Makefiles until the whole pkgsrc tree didn't show 
any warnings.

I don't think this is specified anywhere but in the source code.

Roland