From owner-freebsd-ports@FreeBSD.ORG Fri May 21 14:50:17 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 3D06A106566B; Fri, 21 May 2010 14:50:17 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-ports@FreeBSD.org Date: Fri, 21 May 2010 10:50:07 -0400 User-Agent: KMail/1.6.2 References: <4BF39021.8080005@bsdforen.de> <4BF46A07.9050606@millions.ca> <20100520130114.GD68124@plebeian.afflictions.org> In-Reply-To: <20100520130114.GD68124@plebeian.afflictions.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005211050.09661.jkim@FreeBSD.org> Cc: Dominic Fandrey , Damian Gerow , Stacy Millions Subject: Re: OpenJDK6 not building X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2010 14:50:17 -0000 On Thursday 20 May 2010 09:01 am, Damian Gerow wrote: > Stacy Millions wrote: > : Dug into the build process a bit... they use a bundled version of > : ant which doesn't call /usr/local/bin/java (who uses > : JAVAVM_OPTS). > : > : Try adding these two lines to the MAKE_ENV of the port's Makefile > : JAVACMD=${LOCALBASE}/bin/java \ > : JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \ > : > : and rerun make. It works for me. > > Yup, that seems to have fixed it. Thanks! > > : but I tend to take the pragmatic approach that when reality > : disagrees with the documentation, I believe reality :-) > > Stupid reality, always getting in the way... FYI, it should be fixed by the following commit: http://docs.freebsd.org/cgi/mid.cgi?201005210511.o4L5BwmD064669 Jung-uk Kim