ports/128329: graphics/opendx doesn't build with diablo-jdk16

Stephen Montgomery-Smith stephen at math.missouri.edu
Fri Oct 24 05:30:02 UTC 2008


>Number:         128329
>Category:       ports
>Synopsis:       graphics/opendx doesn't build with diablo-jdk16
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 24 05:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD cauchy 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Wed Sep 17 19:23:36 CDT 2008 stephen at cauchy:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
If diablo-jdk16 is installed, and WITHOUT_JAVA is not set, it does not install on the i386.  This is because configure doesn't find the jni headers.
>How-To-Repeat:
	
>Fix:

I am not an expert on this, so I have no idea whether this is the "proper" way to fix this.  But it is definitely a work around.  And it still seems to work with jdk16.


diff -ur opendx/Makefile opendx/Makefile
--- opendx/Makefile	2008-10-14 17:02:40.000000000 -0500
+++ opendx/Makefile	2008-10-23 21:52:54.000000000 -0500
@@ -56,7 +56,8 @@
 BUILD_DEPENDS+=	${JAVALIBDIR}/npcosmop211.jar:${PORTSDIR}/graphics/cosmoplayer
 RUN_DEPENDS+=	${JAVALIBDIR}/npcosmop211.jar:${PORTSDIR}/graphics/cosmoplayer
 CONFIGURE_ARGS+=	--with-cosmojar-path=${JAVALIBDIR}/npcosmop211.jar	\
-			--with-java40jar-path=${JAVALIBDIR}/java40.jar
+			--with-java40jar-path=${JAVALIBDIR}/java40.jar		\
+			--with-jni-path=${JAVA_HOME}/include:${JAVA_HOME}/include/freebsd
 PLIST_SUB+=	JAVA=""
 DIR2PRUNE=	dx/java/user dx/java/server/nets
 .else


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list