During building executables on FreeBSD 4.X the "undefined reference to `pthread_*'" was thrown. This was for vtk-java, vtk-python, and vtk-tcl port. Fix: The solution is to link binaries with the "-pthread" flag for OSVERSION < 500016. Hereby I attach the recursive diff file which solves this problem, and also fixes some minor bugs.
Responsible Changed From-To: freebsd-ports-bugs->linimon Take.
State Changed From-To: open->closed Committed, thanks.