[PATCH] Fix paths for building in FreeBSD

Džen yvldwt at gmail.com
Wed Oct 17 21:44:54 CEST 2012

Is there a way to have a condition like "FreeBSD || OpenBSD" in GNU make?
Normally I'd just do

.if $(uname_S) == FreeBSD || $(uname_S) == OpenBSD

but there does not seem to be a way to implement such a complex condition
with GNU make. I'd quite like to create a patch if you'd be able to help
me out, though. Maybe we should consider to switch to BSD-style Makefiles?

On Wed, Oct 17, 2012 at 9:11 PM, Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> On Wed, Oct 17, 2012 at 9:10 PM, Džen <yvldwt at gmail.com> wrote:
>> Just as a note, OpenBSD will need the same settings in order to build
>> correctly. Can you please add a condition for OpenBSD?
> I don't know BSD uname semantics. It's probably best if you send me a
> short patch.

More information about the CGit mailing list