Bug 62314

Summary: [MAINTAINER UPDATE] math/vtk-java : compatibility with jdk14
Product: Base System Reporter: Mykola Khotyaintsev <ko>
Component: javaAssignee: freebsd-java (Nobody) <java>
Status: Closed FIXED    
Severity: Affects Only Me CC: pav
Priority: Normal    
Version: 5.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
vtk.diff none

Description Mykola Khotyaintsev 2004-02-03 17:40:08 UTC
	It is impossible to build the port with new jdk14 (1.4.2-p6).
	The include file jni_md.h of the jdk14 port was moved from include/bsd/ to include/freebsd/.

Fix: 

Change 
	-DJAVA_INCLUDE_PATH2:PATH=${JAVA_HOME}/include/bsd
	to
	-DJAVA_INCLUDE_PATH2:PATH=${JAVA_HOME}/include/freebsd
	in the math/vtk-java/Makefile
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2004-02-03 19:14:42 UTC
State Changed
From-To: open->closed

Committed, thanks! 

This fixes the include path problems but I still get link errors trying 
to build this port (missing symbols from the pthreads library).  Do you 
have these problems?
Comment 2 Mykola Khotyaintsev 2004-02-05 10:26:42 UTC
Yes this problem exists for all vtk-java,vtk-python,vtk-tcl ports on FreeBSD 
4.X, but does not on 5.X.

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.