2015-11-11 22:01 GMT+01:00 Matthias Kilian <kili@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.