[47962] trunk/dports/net

Uwe Schwartz usx303 at googlemail.com
Thu Mar 12 11:37:52 PDT 2009


I changed the Portfile according to your suggestions.
The patch is submitted in ticket 18809:

http://trac.macports.org/ticket/18809


Ryan Schmidt wrote:
> 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