README for XFree86 4.0.1 on NetBSD : Rebuilding the XFree86 Distribution
Previous: Kernel Support for X
Next: Building New X Clients

8. Rebuilding the XFree86 Distribution

You should configure the distribution by editing xc/config/cf/host.def before compiling. To compile the sources, invoke ``make World'' in the xc directory.

8.1. Aperture driver

To build the XFree86 server with the Aperture driver enabled, you should unpack apNetBSD.shar and install it first.

Then edit xc/config/cf/host.def and add the line

#define HasNetBSDApertureDriver    YES
to it.

And finally run make World in the xc directory.

8.2. Console drivers

XFree86 has a configuration option to select the console drivers to use in xf86site.def:

If you don't define XFree86ConsoleDefines in xf86site.def the pccons and pcvt drivers will be supported by default.

8.3. Building on other architectures

Note that the NetBSD project has now its own source tree, based on the XFree86 source tree, with some local modifications. You may want to start with this tree to rebuild from sources. The NetBSD xsrc source tree is available at: ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/xsrc/


README for XFree86 4.0.1 on NetBSD : Rebuilding the XFree86 Distribution
Previous: Kernel Support for X
Next: Building New X Clients