Bug#542749: kdesdk: FTBFS on GNU/kFreeBSD (missing detection of glibc availability)
Package: kdesdk
Version: 4:4.3.0-2
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
We hitted into "#TODO: replace with a check for glibc".
Please in mean time use patch bellow.
It would also be nice if you can inform upstream
about this issue.
Thanks in advance
Petr
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -51,11 +51,11 @@
macro_optional_add_subdirectory(strigi-analyzer)
macro_optional_add_subdirectory(kioslave)
-if (CMAKE_SYSTEM_NAME MATCHES Linux)
+if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME MATCHES GNU)
#kmtrace is highly non-portable and requires glibc
#TODO: replace with a check for glibc
macro_optional_add_subdirectory(kmtrace)
-endif (CMAKE_SYSTEM_NAME MATCHES Linux)
+endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME MATCHES kFreeBSD OR CMAKE_SYSTEM_NAME MATCHES GNU)
macro_optional_add_subdirectory(kompare)
macro_optional_add_subdirectory(kprofilemethod)
Reply to: