From owner-freebsd-java Wed Oct 30 22:33:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2858737B401 for ; Wed, 30 Oct 2002 22:33:58 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABE5A43E77 for ; Wed, 30 Oct 2002 22:33:57 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 1878tx-0005ld-03; Wed, 30 Oct 2002 23:33:57 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 1878tw-0005lN-03; Wed, 30 Oct 2002 23:33:56 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g9V6Xqw42641; Thu, 31 Oct 2002 17:03:52 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 31 Oct 2002 17:03:51 +1030 From: Greg Lewis To: "Wilkinson,Alex" Cc: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <20021031170351.B35730@misty.eyesbeyond.com> References: <20021031162805.A35599@misty.eyesbeyond.com> <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au>; from Alex.Wilkinson@dsto.defence.gov.au on Thu, Oct 31, 2002 at 04:34:15PM +1030 X-Spam-Status: No, hits=-2.7 required=8.0 tests=IN_REP_TO,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 31, 2002 at 04:34:15PM +1030, Wilkinson,Alex wrote: > Ok, I think you have misinterpreted what I have said. > > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > 1. I do a pkg_delete of jdk13. > 2. Then I do a fresh install of jdk-the-updated-version. > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. > > Or do you install the jdk-updated-version first and then pkg_delete the older version ? This is what you can do: make -DNATIVE_BOOTSTRAP pkg_delete make -DNATIVE_BOOTSTRAP install So, the package deletion is performed after the build (which requires the compiler to do bootstrapping) but before the install (which doesn't require a JDK). You might also be able to do this with the 'reinstall' target, but I don't remember exactly what that does. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message