From owner-freebsd-ports@FreeBSD.ORG Thu May 20 13:01:19 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3842A106570F for ; Thu, 20 May 2010 13:01:19 +0000 (UTC) (envelope-from dgerow@afflictions.org) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by mx1.freebsd.org (Postfix) with ESMTP id E7E388FC23 for ; Thu, 20 May 2010 13:01:18 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAD7P9EvO+L5V/2dsb2JhbACeB3K8fIUSBINfiFE X-IronPort-AV: E=Sophos;i="4.53,271,1272859200"; d="scan'208";a="64625194" Received: from 206-248-190-85.dsl.teksavvy.com (HELO shell.afflictions.org) ([206.248.190.85]) by ironport2-out.pppoe.ca with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 May 2010 09:01:16 -0400 Received: from shell.afflictions.org (shell.afflictions.org [172.20.143.66]) by shell.afflictions.org (8.14.4/8.14.4) with ESMTP id o4KD1FFf022792; Thu, 20 May 2010 09:01:15 -0400 (EDT) (envelope-from dgerow@afflictions.org) Received: (from dwg@localhost) by shell.afflictions.org (8.14.4/8.14.4/Submit) id o4KD1EMI022723; Thu, 20 May 2010 09:01:14 -0400 (EDT) (envelope-from dgerow@afflictions.org) X-Authentication-Warning: shell.afflictions.org: dwg set sender to dgerow@afflictions.org using -f Date: Thu, 20 May 2010 09:01:14 -0400 From: Damian Gerow To: Stacy Millions Message-ID: <20100520130114.GD68124@plebeian.afflictions.org> References: <4BF39021.8080005@bsdforen.de> <4BF44923.5090101@millions.ca> <20100519205008.GB68124@plebeian.afflictions.org> <4BF4562B.5060208@millions.ca> <20100519212514.GC68124@plebeian.afflictions.org> <4BF46A07.9050606@millions.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF46A07.9050606@millions.ca> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Dominic Fandrey , freebsd-ports@freebsd.org 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: Thu, 20 May 2010 13:01:19 -0000 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...