On 16/06/12 19:05, Jérémy Lal wrote: >> http://pyro.eu.org/f/StBvXuZ7Sn6urlCwb13jSg.txt > > Notice the > -Isrc/ares/config_freebsd
Ah, that was in the GNU/kFreeBSD build target (which I had based on the FreeBSD one). Attached replacement for 3010_kfreebsd-2.diff will remove that. I assume it makes no difference during build because src/ares/ doesn't seem to exist in the source tree (stripped out I guess). Regards, -- Steven Chamberlain ste...@pyro.eu.org
Index: nodejs/tools/wafadmin/Tools/ccroot.py =================================================================== --- nodejs.orig/tools/wafadmin/Tools/ccroot.py 2012-06-16 19:20:46.000000000 +0100 +++ nodejs/tools/wafadmin/Tools/ccroot.py 2012-06-16 19:21:04.147846291 +0100 @@ -66,6 +66,7 @@ '__linux__' : 'linux', '__GNU__' : 'hurd', '__FreeBSD__' : 'freebsd', + '__FreeBSD_kernel__' : 'freebsd', '__NetBSD__' : 'netbsd', '__OpenBSD__' : 'openbsd', '__sun' : 'sunos', Index: nodejs/deps/uv/config-unix.mk =================================================================== --- nodejs.orig/deps/uv/config-unix.mk 2012-06-16 19:20:46.000000000 +0100 +++ nodejs/deps/uv/config-unix.mk 2012-06-16 19:21:43.618811800 +0100 @@ -72,6 +72,14 @@ OBJS += src/unix/kqueue.o endif +ifeq (GNU/kFreeBSD,$(uname_S)) +EV_CONFIG=config_freebsd.h +EIO_CONFIG=config_freebsd.h +LINKFLAGS+= +OBJS += src/unix/freebsd.o +OBJS += src/unix/kqueue.o +endif + ifeq (DragonFly,$(uname_S)) EV_CONFIG=config_freebsd.h EIO_CONFIG=config_freebsd.h