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
[...]
.endif
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 <[email protected]> wrote:
> On Wed, Oct 17, 2012 at 9:10 PM, Džen <[email protected]> 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.
_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit