Issues with portmaster

Dominic Fandrey kamikaze at bsdforen.de
Mon Jun 23 07:16:19 UTC 2008


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.


More information about the freebsd-ports mailing list