[kde-freebsd] area51/deskutils/strigiapplet patch
David Johnson
david at usermode.org
Fri Feb 1 05:45:10 CET 2008
On Thursday 31 January 2008, Tilman Linneweh wrote:
> * David Johnson [2008-01-22 07:18]:
> > On strigiapplet, cmake was not linking with libpthreads (needed by qt3).
> > Looking at a working cmake-based port (speedcrunch), I came up with the
> > attached patch. I'm assuming a similar fix will be necessary for other
> > cmake ports requiring libpthreads.
>
> Others have reported that this only happens on 5.x. Was this on 5.x too?
Tried it again on 6.3, with everything fresh and update (no patches). Still
the same problem:
...
igiclient.o" "CMakeFiles/strigiapplet.dir/moc_strigilineedit.o" "CMakeFiles/strigiapplet.dir/moc_trayicon.o" -o
strigiapplet -L/usr/local/lib -lsearchclient -lkdeui -lqt-mt -lkdecore -lkio -Wl,-rpath,/usr/local/lib
/usr/local/lib/libqt-mt.so: undefined reference to `pthread_cleanup_pop'
/usr/local/lib/libqt-mt.so: undefined reference to `pthread_attr_destroy'
...
> Another idea that was suggested by miwi is adding:
> -DCMAKE_EXE_LINKER_FLAGS=${PTHREAD_LIBS} to CMAKE_ARGS
>
> Does this also fix your problem?
Yes, that also fixes the problem.
--
David Johnson
More information about the kde-freebsd
mailing list