Date: Thu, 28 Mar 2002 23:39:06 -0300 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Ernst de Haan <znerd@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.java.mk bsd.port.mk Message-ID: <20020329023928.59520.qmail@exxodus.fedaykin.here> In-Reply-To: <200203281651.RAA04736@smtp.hccnet.nl>; from znerd@FreeBSD.org on Thu, Mar 28, 2002 at 05:50:08PM %2B0100 References: <200203281124.g2SBOia33945@freefall.freebsd.org> <20020328152041.11240.qmail@exxodus.fedaykin.here> <200203281651.RAA04736@smtp.hccnet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 28, 2002 at 05:50:08PM +0100, Ernst de Haan wrote: > > > 1) Could you define a variable JAVAVM (or, JAVAWRAPPER) > > if java/javavmwrapper is installed? So that we inherit > > knowledge of where it is installed? > > > > JAVAVM=${LOCALBASE}/bin/javavm > > > > I prefer using javavm than ${JAVA} > > Why do you prefer javavm over java? Just curious, since it's been a while > since I discussed the use of javavm with sobomax. I prefer javavm over java (in some occasions) because it will default to the latest available jdk (whatever it is, instead of a hardcoded path). It's better if I give an example, /usr/local/jdk1.3.1/bin/java But after a port update it is now /usr/local/jdk1.3.2/bin/java However, I had a sed patch which hardcoded ${JAVA} in a script before installing it. So you see, the problem no longer works.... nevertheless, it would still work if we had used ${JAVAVM}. It's better in certain situations. Not when we need a specific version but quite good when any of the latest will do. Anyway, I can think of arguments both pro and against it. So... it's your call. > > 2) This is far fetched (I am just asking so that > > we know that this has already been asked): > > > > Could we have JAVASHAREDIR, JAVACLASSESDIR, JAVAJARDIR like we have > > SHAREDIR and EXAMPLESDIR? > > > > JAVAPREFIX=${PREFIX}/share/java > > JAVASHAREDIR=${JAVAPREFIX}/${PORTNAME} > > JAVACLASSESDIR=${JAVAPREFIX}/classes/${PORTNAME} > > JAVAJARDIR=${JAVAPREFIX}/jar/${PORTNAME} > > This looks good. Next item on my TODO-list is exactly this. And it *has* been > asked before, see freebsd-java (one month ago or so) and > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16347 Even better, I am not thinking something totally ludicrous.... or, am I. :) A multitude of voices does not always make it good. Aside from those, I have fitted all my maintained ports to your new design. They all seem fine. Good job. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020329023928.59520.qmail>