SVN commit 7162 by rakuco: bsd.cmake.mk: Experiment with not passing -DTHREADS_HAVE_PTHREAD_ARG.
This should help fix the build with the new strigi (and the old one without the patches). strigi calls CMake's FindThreads, which performs some checks for pthread_create and how to link to pthread, and then uses the value CMake sets for CMAKE_HAVE_PTHREAD_CREATE in its strigi_thread.h, which only works when CMAKE_HAVE_PTHREAD_CREATE is true. However, the check which sets CMAKE_HAVE_PTHREAD_CREATE in CMake's FindThreads is only performed when THREADS_HAVE_PTHREAD_ARG is not set. Since pthread_create(3) also suggests -lpthread instead of -pthread, I don't see much point in passing this definition to CMake as we were doing so far. Here be dragons! M +1 -2 bsd.cmake.mk _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information