Dependencies relationship to default variants?
Tabitha McNerney
tabithamc at gmail.com
Fri Jul 11 20:45:09 PDT 2008
On Thu, Jul 10, 2008 at 10:13 PM, Emmanuel Hainry <milosh at macports.org>
wrote:
> Citando Ryan Schmidt :
> > On Jul 10, 2008, at 23:50, Tabitha McNerney wrote:
> >
> > > Also, is there any way (before installing a port) to use the port
> > > command-line program to request a port's default variants
> > > information? Or is the only way to obtain this information to parse
> > > each port's Portfile and look for it that way?
> >
> > You would like a way to know that the kerberos variant will be
> > selected by default for this port? I'm not sure if there is a port
> > command that will tell you that.
> >
>
> Variants are supposed to have descriptions, it is good practice to
> explicit in the description if a variant is a default or no. So 'port
> variants gizmo' should inform you. I don't remember if the absence of a
> description is considered a bug, but it is always possible to file a RFE
> for cyrus-sasl2 for the addition of a description for variants.
Thank you Emmanuel, its true that in fact the default variant should be
discoverable, per your suggestion, like this for the example port of gtk2:
$ port variants gtk2
> gtk2 has the variants:
> universal
> darwin_6
> darwin_7
> no_x11: Same as +quartz
> quartz: Enable Quartz rendering
> * x11: Enable rendering in X11 (default)*
>
But for cyrus-sasl2, the text "*(default)*" is *missing* from the line
yielding the variant, kerberos:
$ port variants cyrus-sasl2
> cyrus-sasl2 has the variants:
> universal
> darwin
> freebsd
> * kerberos*
> sql
> static
>
Should not that line read:
*kerberos (default)*
?
Thanks,
T.M.
>
>
> Best,
>
> Emmanuel
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080711/3ebbc96c/attachment.html
More information about the macports-users
mailing list