summaryrefslogtreecommitdiffstats
path: root/debian/patches/build-on-kfreebsd
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/build-on-kfreebsd')
-rw-r--r--debian/patches/build-on-kfreebsd16
1 files changed, 0 insertions, 16 deletions
diff --git a/debian/patches/build-on-kfreebsd b/debian/patches/build-on-kfreebsd
deleted file mode 100644
index 9000042..0000000
--- a/debian/patches/build-on-kfreebsd
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: Non-Linux architectures on Debian support to be considered as Linux in the Colobot case
-Author: Didier Raboud <odyx@debian.org>
-Last-Update: 2013-11-26
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -48,8 +48,8 @@
-
- # Platform-dependent implementation of system.h
- set(SYSTEM_CPP_MODULE "system_windows.cpp")
--elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
-- message(STATUS "Build for Linux system")
-+elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR "${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "GNU")
-+ message(STATUS "Build for GNU/Linux, GNU/kFreeBSD or GNU/Hurd system")
- set(PLATFORM_WINDOWS 0)
- set(PLATFORM_LINUX 1)
- set(PLATFORM_MACOSX 0)