From owner-freebsd-java Mon Nov 19 8:40: 5 2001 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 2AF5D37B416 for ; Mon, 19 Nov 2001 08:39:59 -0800 (PST) Received: (from ernst@localhost) by zaphod.euronet.nl (8.11.6/8.11.6) id fAJGdro13223; Mon, 19 Nov 2001 17:39:53 +0100 (CET) (envelope-from ernst) Message-Id: <200111191639.fAJGdro13223@zaphod.euronet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: Rasputin , java@freebsd.org Subject: Re: A Modest Proposal for Java(tm) dependency selection among ports Date: Mon, 19 Nov 2001 17:39:53 +0100 X-Mailer: KMail [version 1.3] References: <20011115130202.E33074@johncoop.MSHOME> <200111191317.fAJDHRi12634@zaphod.euronet.nl> <20011119163216.B56021@shikima.mine.nu> In-Reply-To: <20011119163216.B56021@shikima.mine.nu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Rasputin and all, > Sorry to jump in after the fact ,but I wondered if there > was a specific problem with JAVA_VER > > - this would tie in nicely with things like > > XFREE86_VERSION and OS_VERSION, etc, > and could be compared against in the same way that > many ports use OS_VERSION (i.e. numerically > ) Sounds reasonable. I was trying to keep things simple, dividing the Java version number into minor/medior/major, but you're right, this functionality is already available, so why not use it. Okay, then I suggest using "JAVA_VERSION" instead of "JAVA_VER" to keep in sync with "XFREE86_VERSION" and "OS_VERSION". I will update the proposal. > In any case, I think make.conf would be suitable to hold > relevant variables (once we decide what they are). Sounds reasonable. Will think this over. > If an app needs a specific version of a JRE/JDK surely it can > just have a RUN_DEPENDS clause that points to an absolute path This is always possible, perhaps we can improve this as well. > Also most ports seem to use JAVADIR or JAVA_HOME - > the two seem fairly interchangable so perhaps they could be merged in here > as well?? We should choose the name that covers the load best. Perhaps one or more out of these: JAVA_HOME JDK_HOME JRE_HOME > A lot of ports seem to use dependencies specific to whoever > wrote the port, so this is a mess worth fixing - roll on bsd.java.mk :) /me hi5s rasputin Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message