Getting a list of existing packages

Kris Kennaway kris at obsecurity.org
Thu Sep 25 13:42:23 PDT 2003


On Thu, Sep 25, 2003 at 04:29:12PM -0400, Dan Langille wrote:
> 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.

Yep, looks like you're right.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030925/2faa78b6/attachment.bin


More information about the freebsd-ports mailing list