Subject: Re: endianness of *.db on cross builds
To: None <tech-userlevel@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 05/31/2002 11:36:45
> > 	something like this?  it still looks ugly, i need help from Makefile
> > 	expert.
>Yah, that's precisely what I had in mind :-)

	committed for 1.6.

	i still see benefit in creating *.db under share in network byteorder.
	*.db under /usr/share is keyed by ASCII string, so there's no real
	interoperability issue (we can safely NFS-share /usr/share).

	if we ship network byteorder *.db:
	pros: single share.tgz for all archs
	cons: slower on little-endian machines

	if we ship target byteorder *.db:
	pros: faster
	cons: we can't ship single share.tgz

	the other alternative is to generate *.db on the fly at the first
	boot time (like in /etc/rc.d).

itojun