On Sat, Sep 24, 2011 at 06:00:21PM +0300, Timo Myyrä wrote: > The update to chicken port is almost done. > > There seems to some issue with gmake though. It seems to print make > database in addition to other tasks. > Something seems to pass '-p' option to gmake but I haven't been able > locate what and where.
This is because you don't properly quote the variables you pass via MAKE_FLAGS > > Building chicken manually doesn't print the database. It only happens > when using ports. > > I first thought that the patch to change '-lpthread' to '-pthread' > would somehow be related but that doesn't seem to be the case. It's not necessary to patch Makefile.bsd, you can overwrite LIBRARIES with MAKE_FLAGS as well. > Any help fixing the issue would be welcome. > > Port can be found at openbsd-wip git repository: > https://github.com/jasperla/openbsd-wip/tree/master/lang/chicken > > Timo > Two other things I remember from manually compiling: -> echo "#define C_STACK_GROWS_DOWNWARD 1" >>$@ I doubt this is true for all architectures. -> # OpenBSD base still uses GCC 3.3.5 which does not support -fwrapv -> ifeq ($(SYSTEM), OpenBSD) This is questionable today and causes chicken to omit "-fwrapv", which may not be desirable.