From ac3a2becfa99a5c8d556947f52a94254fed7b9f1 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Tue, 26 Dec 2006 12:24:24 +0100 Subject: [PATCH] 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] --- makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2