Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 10:43:08 +0200
From:      "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: Issues with portmaster
Message-ID:  <20080623084308.GA51236@wep4017.physik.uni-wuerzburg.de>
In-Reply-To: <485F5582.5040101@FreeBSD.org>
References:  <20080622020728.GC13734@server.vk2pj.dyndns.org> <485DF018.5020703@FreeBSD.org> <485F4B7E.3040905@FreeBSD.org> <485F4EE1.9040603@FreeBSD.org> <485F5582.5040101@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello!

On Mon, Jun 23, 2008 at 12:49:22AM -0700, Doug Barton wrote:
> Alex Dupre wrote:
>> Doug Barton ha scritto:
>>> Portmaster uses CONFLICTS to avoid this issue.
>>
>> I can't see how CONFLICTS could solve this issue: we can install all 
>> the JDKs together without problems
>
It seems I don't understand something here. Can someone explain why
jdk ports need to set BUILD_DEPENDS on diablo-jdk15 unconditionally?
Why it is not possible to define it inside 'if !defined(BOOTSTRAPJDKDIR)'?
(See attached patch.)

Just curious,
Alexey.

--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

--- Makefile.orig	2008-06-23 10:33:59.000000000 +0200
+++ Makefile	2008-06-23 10:34:36.000000000 +0200
@@ -108,9 +108,8 @@
 # if no valid jdk found, set dependency
 .if !defined(BOOTSTRAPJDKDIR)
 BOOTSTRAPJDKDIR?=	${LOCALBASE}/diablo-jdk1.5.0
-.endif
-
 BUILD_DEPENDS+=	${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15
+.endif
 
 .if defined(WITHOUT_WEB)
 MAKE_ENV+=	DONT_BUILD_DEPLOY="YES"

--AhhlLboLdkugWU4S--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080623084308.GA51236>