From owner-freebsd-java@FreeBSD.ORG Wed Jul 13 18:13:43 2011 Return-Path: Delivered-To: java@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 7772D106564A; Wed, 13 Jul 2011 18:13:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Andriy Gapon Date: Wed, 13 Jul 2011 14:13:34 -0400 User-Agent: KMail/1.6.2 References: <20110712122808.GH49108@albert.catwhisker.org> <20110713152408.GS49108@albert.catwhisker.org> <4E1DD995.9010206@FreeBSD.org> In-Reply-To: <4E1DD995.9010206@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_PBeHOiOgeOzgxWI" Message-Id: <201107131413.35817.jkim@FreeBSD.org> Cc: java@freebsd.org, David Wolfskill Subject: Re: [circumvention] Re: Build failure for java/icedtea-web (stable/8 @r223930) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2011 18:13:43 -0000 --Boundary-00=_PBeHOiOgeOzgxWI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > >>> . > >> > >> 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 --Boundary-00=_PBeHOiOgeOzgxWI Content-Type: text/plain; charset="iso-8859-1"; name="icedtea-web.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="icedtea-web.diff" 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 \ --Boundary-00=_PBeHOiOgeOzgxWI--