Most likely... I tried to apply the patches from yaws ports dirbut the version 2.0 of yaws is to new and the patches failed. I'll send a report to Yaws people. Thanks for help. Bogdan
On Friday, October 2, 2015 9:14 PM, Rob <r...@schmersel.net> wrote: On Fri, 2 Oct 2015 07:38:28 +0000 (UTC) Stuart Henderson <s...@spacehopper.org> wrote: > On 2015-09-30, Bogdan Andu <bo...@yahoo.com> wrote: > > If one needs this linux-like crap, sendfile,and cannot disable it, > > how is he suppose to handle it? > > Run it on linux? > > I'm surprised Yaws needs it though, from what it says on their website > it looks optional. > Sendfile support IS optional, from the include.mk: ifeq ($(HAVE_SENDFILE),true) Â ERLC_GENERIC_FLAGS += -DHAVE_SENDFILE endif ifeq ($(HAVE_ERLANG_SENDFILE),true) Â ERLC_GENERIC_FLAGS += -DHAVE_ERLANG_SENDFILE endif So check what is happening and send a report to YAWS if sendfile seems to be mandatory on OpenBSD, as then there is a bug in the makefile generation.