Date: Fri, 24 Oct 2008 00:23:54 -0500 (CDT) From: Stephen Montgomery-Smith <stephen@math.missouri.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/128329: graphics/opendx doesn't build with diablo-jdk16 Message-ID: <200810240523.m9O5NsXm003945@cauchy.math.missouri.edu> Resent-Message-ID: <200810240530.m9O5U1s8038588@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810240523.m9O5NsXm003945>