[circumvention] Re: Build failure for java/icedtea-web (stable/8 @r223930)

Jung-uk Kim jkim at FreeBSD.org
Wed Jul 13 18:13:43 UTC 2011


On Wednesday 13 July 2011 01:44 pm, Andriy Gapon wrote:
> on 13/07/2011 18:24 David Wolfskill said the following:
> > On Tue, Jul 12, 2011 at 06:36:51PM +0300, Andriy Gapon wrote:
> >> on 12/07/2011 18:23 David Wolfskill said the following:
> >>> I had attached a copy in the initial message.  I copied the new
> >>> one so it's available via
> >>> <http://www.catwhisker.org/~david/FreeBSD/config.log>.
> >>
> >> Oh, it's using openjdk7 - not sure why, not sure if it's
> >> supposed to work.
> >
> > OK; thanks for the hint: I was able to circumvent the problem.
> >
> > What I did was:
> >
> > * pkg_delete -f openjdk-7.0.147_1 * cd
> > /usr/ports/java/icedtea-web * make clean install clean * cd
> > ../openjdk7 * make clean install clean
> >
> > A bit cumbersome, but everything installed, at least.  And
> > Firefox claims that I have various IcedTea-flavored Java plugins
> > available, while the Airport configurator (which uses openjdk7)
> > appears to work.
>
> Maybe Jung-uk can suggest some better approach for the icedtea-web
> port in this environment.

Sorry, it's my fault.  Please try the attached patch.

Jung-uk Kim
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/java/icedtea-web/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	12 Jul 2011 19:21:02 -0000	1.4
+++ Makefile	13 Jul 2011 18:11:54 -0000
@@ -16,8 +16,10 @@
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_JAVA=	1.6
+USE_JAVA=	yes
+JAVA_OS=	native
 JAVA_VENDOR=	openjdk
+JAVA_VERSION=	1.6
 USE_XORG=	x11
 
 OPTIONS=	PLUGIN "Enable the browser plug-in" on \


More information about the freebsd-java mailing list