[The DarkPlaces build system mostly cares about userland, not the kernel,
and GNU/kFreeBSD is equivalent to GNU/Linux in that respect. -smcv]
# UNIXes
DP_ARCH:=$(shell uname)
+ifeq ($(DP_ARCH), GNU/kFreeBSD)
+ # same userspace as Linux, not a BSDish one
+ DP_MAKE_TARGET=linux
+else
ifneq ($(filter %BSD,$(DP_ARCH)),)
DP_MAKE_TARGET=bsd
else
endif # ifeq ($(DP_ARCH), SunOS)
endif # ifeq ($(DP_ARCH), Darwin)
endif # ifneq ($(filter %BSD,$(DP_ARCH)),)
+endif # ifeq ($(DP_ARCH), GNU/kFreeBSD)
endif # ifdef windir
endif # ifndef DP_MAKE_TARGET