[47962] trunk/dports/net

Ryan Schmidt ryandesign at macports.org
Wed Mar 11 14:43:29 PDT 2009


On Mar 11, 2009, at 13:48, snc at macports.org wrote:

> Revision: 47962
>           http://trac.macports.org/changeset/47962
> Author:   snc at macports.org
> Date:     2009-03-11 11:48:05 -0700 (Wed, 11 Mar 2009)
> Log Message:
> -----------
> created argus-clients, ticket #18792

[snip]

> +default_variants +graph
> +
> +variant graph description {Build ragraph (depends on rrdtool)} {
> +    depends_lib-append port:rrdtool
> +}

Why make it a variant and then make it the default? This makes it  
hard for anyone to deselect the variant since MacPorts does not  
record negative variants in the registry. If you want the feature  
enabled by default but want a way for people to disable it, code the  
portfile to enable the feature, and then have a "no_graph" variant to  
remove it.



More information about the macports-dev mailing list