Package: kdesdk
Version: 4:4.3.0-2
Severity: important
Tags: patch
User: debian-...@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)




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to