OpenJDK6 not building

Jung-uk Kim jkim at FreeBSD.org
Fri May 21 14:50:17 UTC 2010


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


More information about the freebsd-ports mailing list