							1999-05-31
							Emil Brink

		Porting gentoo to *BSD systems

gentoo is developed under Linux, because that's what I run on my
box(en) at home.
	Every released version of gentoo will generally also have
been compiled on Solaris 2.6, since I have access to that through
school.

Since gentoo relies heavily on the GTK+ and glib libraries, and
the POSIX calls for file access and the like, it should be pretty
portable to other (Unix-like) operating systems.

I had no idea *how* portable it was until I got mail from Alexander
Moss Tahk (<tahk@mit.edu>), stating that he had successfully ported
it to run on OpenBSD. :) That might be because I know very little
about BSD...

I incorporated the necessary changes (of which there were rather
few, basically the biggest change was in the code dealing with
on-the-fly mounting) as suggested by Alexander into the main code,
and version 0.11.6 of gentoo should compile and run happily on
OpenBSD systems.

I know next to nothing about the changes between the different free
BSD's out there (I'm thinking of {Open,Free,Net}BSD here), but if
you run e.g. FreeBSD or NetBSD, please let me know if gentoo can
compile on those systems! If you need to change the code in order
to make it run, please let me know what changes were necessary,
so I can incorporate them in future releases.

Chances are that all you need to do is search through the code
for
#if defined(__OpenBSD__)
and change it to the obvious thing.


/Emil
