From owner-freebsd-ports@FreeBSD.ORG Mon Jun 23 07:16:19 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36F64106566B; Mon, 23 Jun 2008 07:16:19 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id C6AC38FC1C; Mon, 23 Jun 2008 07:16:18 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.69.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 89ABB8A0F93; Mon, 23 Jun 2008 09:16:10 +0200 (CEST) Message-ID: <485F4DB3.3080505@bsdforen.de> Date: Mon, 23 Jun 2008 09:16:03 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: Doug Barton References: <20080622020728.GC13734@server.vk2pj.dyndns.org> <485DF018.5020703@FreeBSD.org> <485F4B7E.3040905@FreeBSD.org> In-Reply-To: <485F4B7E.3040905@FreeBSD.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Peter Jeremy , glewis@FreeBSD.org, freebsd-ports@FreeBSD.org, Alex Dupre Subject: Re: Issues with portmaster X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 07:16:19 -0000 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.