Conditionally add OpenBSD's pledge(2) call -- but to which library?
Sven Panne
svenpanne at gmail.com
Thu Nov 12 07:50:43 UTC 2015
2015-11-11 22:01 GMT+01:00 Matthias Kilian <kili at outback.escape.de>:
> [...] In any case, client application using it
> would always either need some #ifdef or would get patches local to
> the OpenBSD ports tree.
>
> So, any thoughts about this?
>
> Please note: just writing a separate package for this wouldn't help
> much (for OpenBSD ports), because it would require changing cabal
> dependencies for every client application in addition to other
> source code patches.
>
This is highly specific to OpenBSD, and (as you mentioned) clients need to
be changed, anyway. Therefore cabal dependencies can be changed, too. I
don't see why the former should be acceptable while the latter shouldn't.
So a separate package seems to be the way to go IMHO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20151112/9600ee31/attachment.html>
More information about the Libraries
mailing list