From: Cyril Brulebois Date: Tue, 26 Dec 2006 11:24:24 +0000 (+0100) Subject: Fix OS detection of darkplaces' makefile to not think it's on BSD on GNU/kFreeBSD X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ac3a2becfa99a5c8d556947f52a94254fed7b9f1;p=xonotic%2Fdarkplaces.git Fix OS detection of darkplaces' makefile to not think it's on BSD on GNU/kFreeBSD [The DarkPlaces build system mostly cares about userland, not the kernel, and GNU/kFreeBSD is equivalent to GNU/Linux in that respect. -smcv] --- diff --git a/makefile b/makefile index e74cce2a..565dae62 100644 --- a/makefile +++ b/makefile @@ -9,6 +9,10 @@ else # 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 @@ -23,6 +27,7 @@ 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