On Thu, May 05, 2011 at 03:08:23PM +0200, Kevin Roy wrote: > Hello, > > On 4 May 2011 21:09, Christoph Egger <christ...@debian.org> wrote: > > Hi! > > > > blender misses the -ldl on the final linker line it puts for the linux > > targets and therefor fails to build on kfreebsd-*: > > > Thanks for the report. > I'm aware of that bug since the previous 2.57 upload. > After looking at the CMakeList.txt in line 434 , there is a > CMAKE_SYSTEM_NAME variable that needs to match "Linux" and I don't > know what is the content on kfreebsd. > I'll try to setup a kfreebsd and look at what can be done to solve. A patch to fix the problem:
--- blender-2.57.2-svn36339.orig/CMakeLists.txt +++ blender-2.57.2-svn36339/CMakeLists.txt @@ -442,6 +442,13 @@ if(UNIX AND NOT APPLE) set(WITH_BINRELOC ON) endif() endif() + if(CMAKE_SYSTEM_NAME MATCHES "kFreeBSD") + if(NOT WITH_PYTHON_MODULE) + # libdl.so is also used by GNU/kFreeBSD + list(APPEND LLIBS -ldl) + endif() + endif() + set(PLATFORM_LINKFLAGS "-pthread") Best regards, Gonéri -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org