From owner-freebsd-ports@FreeBSD.ORG Tue Aug 7 21:07:55 2007 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 AAF4E16A41B for ; Tue, 7 Aug 2007 21:07:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with SMTP id 5711513C468 for ; Tue, 7 Aug 2007 21:07:55 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 1533 invoked by uid 399); 7 Aug 2007 21:07:54 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 7 Aug 2007 21:07:54 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <46B8DF28.3060601@FreeBSD.org> Date: Tue, 07 Aug 2007 14:07:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: RW References: <20070807205138.6c5759d6@gumby.homeunix.com.> <46B8D605.2060008@FreeBSD.org> <20070807215725.5659eebf@gumby.homeunix.com.> In-Reply-To: <20070807215725.5659eebf@gumby.homeunix.com.> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Portmaster and Portmanager problem with jdk15 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: Tue, 07 Aug 2007 21:07:55 -0000 RW wrote: > What I don't understand is why portmaster doesn't leave missing > build-dependencies to the ports-system itself. Because that's part of portmaster's design. It takes each of the build and run dependencies and handles the compilation and installation itself. That way you get all of portmaster's benefits for each port that you install, not just the parent. > I wasn't using the -t option and ${BOOTSTRAPJDKDIR}/bin/javac is > provided by jdk15. Are there CONFLICTS set between jkd15 and linux-sun-jdk15? Portmaster would correctly determine that the dependency was already met if so. Another way to do that would be to wrap that line in an if !exists(javac) type test, although in principle I would agree that it probably shouldn't be necessary. One thing that would make this whole problem go away is some sort of "need depends" target that would give you all the goodness of the way that the infrastructure tests for needed dependencies now, without allowing the infrastructure to recurse itself. I have in mind to look at this project when I have time, but it's not high on the list at the moment. hth, Doug -- This .signature sanitized for your protection