Subject: cross-building xsrc with src/x11
To: None <current-users@NetBSD.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-x11
Date: 01/08/2004 20:09:48
--V4b9U9vrdWczvw78
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Greetings all.

It is now possible to cross-build XFree86 4.x on NetBSD-current
using the "build.sh" (1) framework, taking advantage of such features as:
    *	cross compilation
    *	read-only source trees
    *	"unprivileged" builds

Various platforms have been converted to this framework, and all
platforms should be able to build everything other than the X servers.
Some platforms have working support for the X servers as well,
including:
	i386 macppc sparc hpcmips vax x68k

This is implemented as "reach over" hierarchy under src/x11.

To enable, set the following mk.conf(5) variables:
	X11SRCDIR=/path/to/xsrc		# Defaults to "/usr/xsrc"
	MKX11=yes

This will enable the building of src/x11 to ${DESTDIR}/usr/X11R6
when performing "build", "distribution" or supersets of these.
MKX11=yes also enables building of the X sets in "sets" and "release".


Thanks to Tyler Retzlaff <rtr@NetBSD.org> for converting most of the
X servers and finishing off what I started.

Enjoy!


Luke.


(1) For more details on build.sh, see:
	http://www.mewburn.net/luke/papers/build.sh.pdf
    and
	http://www.mewburn.net/luke/talks/bsdcon-2003/index.html

--V4b9U9vrdWczvw78
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQE//R5cpBhtmn8zJHIRAkF5AJsGKWCMNph+fimFJtyDXA3fhxT8wwCbBSwb
zJJNQNOKeJxKDbnK2goT3mg=
=HGY+
-----END PGP SIGNATURE-----

--V4b9U9vrdWczvw78--