Comments on pmake diffs for building on Linux

Giorgos Keramidas keramida at
Tue Mar 4 19:46:52 UTC 2008

On 2008-03-04 10:01, David O'Brien <obrien at> wrote:
> On Tue, Mar 04, 2008 at 05:37:30PM +0200, Giorgos Keramidas wrote:
> > The next part, about the missing errx() functions on Solaris is going to
> > be tonight's fun.  If there are too many missing functions, it may be
> > worth adding a static `libcompat' with copies of just the functions we
> > need to run BSD make on non-BSD hosts.
> fbsdmake will be just one of many tools you'll find you need.  A
> libfbsdcompat would be useful to this endevor.  If I were you, I would
> try to create one using FreeBSD src/ - that is assume a checked out
> FreeBSD is available.  See some of my sed'ing and unifdef*(1) hacks I've
> used over the years to build GNU stuff on FreeBSD.

A libfbsdcompat seems like one of the best options to keep the source
code changes down to a tolerable level, indeed.  Thanks for all the
_very_ useful input so far, David :)

More information about the freebsd-hackers mailing list