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, [email protected] wrote:
> 
>> Revision: 47962
>>           http://trac.macports.org/changeset/47962
>> Author:   [email protected]
>> 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.
> 

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to