From owner-freebsd-ports@FreeBSD.ORG Mon Jun 23 08:43:13 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 E9C3F1065678 for ; Mon, 23 Jun 2008 08:43:13 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6F5078FC1B for ; Mon, 23 Jun 2008 08:43:12 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 5CC31A0638 for ; Mon, 23 Jun 2008 10:43:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 50E0DA05F5 for ; Mon, 23 Jun 2008 10:43:09 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 3BEC4A05F1 for ; Mon, 23 Jun 2008 10:43:09 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008062310430889-59742 ; Mon, 23 Jun 2008 10:43:08 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Mon, 23 Jun 2008 10:43:08 +0200 From: "Alexey Shuvaev" Date: Mon, 23 Jun 2008 10:43:08 +0200 To: freebsd-ports@freebsd.org Message-ID: <20080623084308.GA51236@wep4017.physik.uni-wuerzburg.de> References: <20080622020728.GC13734@server.vk2pj.dyndns.org> <485DF018.5020703@FreeBSD.org> <485F4B7E.3040905@FreeBSD.org> <485F4EE1.9040603@FreeBSD.org> <485F5582.5040101@FreeBSD.org> MIME-Version: 1.0 In-Reply-To: <485F5582.5040101@FreeBSD.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/23/2008 10:43:08 AM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 06/23/2008 10:43:09 AM, Serialize complete at 06/23/2008 10:43:09 AM Content-Type: multipart/mixed; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de 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 08:43:14 -0000 --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--