Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 16:29:12 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Getting a list of existing packages
Message-ID:  <3F7317D8.29925.20A89F5F@localhost>
In-Reply-To: <20030925201758.GA66639@rot13.obsecurity.org>
References:  <3F72D337.11051.1F9C8A56@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Sep 2003 at 13:17, Kris Kennaway wrote:

> On Thu, Sep 25, 2003 at 11:36:23AM -0400, Dan Langille wrote:
> > Please cc me on any replies.
> > 
> > I'm trying to find a way of determining whether or not a given port 
> > should have a package.  I would prefer to obtain this information via 
> > make. e.g. make -V PACKAGEEXISTS
> > 
> > Looking at the various settings in Mk/*, I'm not seeing anything 
> > which is obviously the solution.
> > 
> > Clues please?
> 
> Essentially, a package is built for port X unless
> 
> 1) IGNORE is set
> 
> 2) Condition 1 is true for a port upon which port X depends.

Would it be correct to add this to 1) and NO_PACKAGE is not set.
-- 
Dan Langille : http://www.langille.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7317D8.29925.20A89F5F>