The server developer's kit allow you to rebuild just the X server with a
minimum amount of disk space. Just unpack it, make the appropriate
changes to the
xf86site.def, type ``
make'' to link the server. See
for more info.
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.
XFree86 has a configuration option to select the console
drivers to use in
#define XFree86ConsoleDefines -DPCCONS_SUPPORT
#define XFree86ConsoleDefines -DPCVT_SUPPORT
host.defthe pccons and pcvt drivers will be supported by default.
Experimental native support for the wscons console driver found on OpenBSD/powerpc and on OpenBSD/i386 -current can be built by adding:
#define XFree86ConsoleDefines -DWSCONS_SUPPORT
xc/config/host.defbefore rebuilding the server. This has not been thoroughly tested, except on the macppc.
For the i386, you should include both pcvt and wscons support in order to use the pcvt compatibility mode of wscons:
#define XFree86ConsoleDefines -DPCVT_SUPPORT -DWSCONS_SUPPORT
XFree86 should also compiles on other OpenBSD architectures. However, please note that 3.9.x snapshots have only been tested on the i386 for now.
Note that OpenBSD 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 OpenBSD X11 source tree is available by anoncvs from all OpenBSD anoncvs servers. See http://www.openbsd.org/anoncvs.html for details on anoncvs.