Date: Mon, 23 Jun 2008 09:16:03 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Doug Barton <dougb@FreeBSD.org> Cc: Peter Jeremy <peterjeremy@optushome.com.au>, glewis@FreeBSD.org, freebsd-ports@FreeBSD.org, Alex Dupre <ale@FreeBSD.org> Subject: Re: Issues with portmaster Message-ID: <485F4DB3.3080505@bsdforen.de> In-Reply-To: <485F4B7E.3040905@FreeBSD.org> References: <20080622020728.GC13734@server.vk2pj.dyndns.org> <485DF018.5020703@FreeBSD.org> <485F4B7E.3040905@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > Alex Dupre wrote: >> Peter Jeremy wrote: >>> Firstly, I have jdk-1.5.0.14p8,1 installed and this needs updating. >>> portmaster has decided that doing so requires java/diablo-jdk15 to be >>> installed - which is wrong because I already have a suitable jdk >>> installed. >> >> You are right, but the port has the following line: >> >> BUILD_DEPENDS+= >> ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15 >> >> So, even if it correctly find the installed >> /usr/local/jdk1.5.0/bin/javac binary, it adds the diablo dependency. >> Portmaster checks all the dependencies, even if the binary file exists, >> and so try to install the diablo jdk. All java ports should be fixed >> regarding this issue. > > Portmaster uses CONFLICTS to avoid this issue. This isn't the first time > I've heard this complaint about the java ports. I'm wondering if glewis > could shed some light on why they don't have proper CONFLICTS set. Because they don't conflict. /usr/local/bin/javac is a script that selects one of the installed JAVA VMs, dependant on what is available, environment settings and a make variable that can be changed in make.conf.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485F4DB3.3080505>