Getting a list of existing packages
Dan Langille
dan at langille.org
Thu Sep 25 13:28:44 PDT 2003
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/
More information about the freebsd-ports
mailing list