Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 10:50:07 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Cc:        Dominic Fandrey <kamikaze@bsdforen.de>, Damian Gerow <dgerow@afflictions.org>, Stacy Millions <stacy@Millions.Ca>
Subject:   Re: OpenJDK6 not building
Message-ID:  <201005211050.09661.jkim@FreeBSD.org>
In-Reply-To: <20100520130114.GD68124@plebeian.afflictions.org>
References:  <4BF39021.8080005@bsdforen.de> <4BF46A07.9050606@millions.ca> <20100520130114.GD68124@plebeian.afflictions.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005211050.09661.jkim>