Bug 62314 - [MAINTAINER UPDATE] math/vtk-java : compatibility with jdk14
Summary: [MAINTAINER UPDATE] math/vtk-java : compatibility with jdk14
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: java (show other bugs)
Version: 5.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-java (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 17:40 UTC by Mykola Khotyaintsev
Modified: 2004-02-05 10:30 UTC (History)
1 user (show)

See Also:


Attachments
vtk.diff (4.42 KB, patch)
2004-02-05 10:26 UTC, Mykola Khotyaintsev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.