How to find default variants

Ryan Schmidt ryandesign at macports.org
Sat Jul 5 20:17:09 PDT 2014


On Jul 5, 2014, at 7:54 PM, Jeremy Lavergne wrote:

> Port variants. It indicates which variants are on based on your variants.conf

...and based on the port's defaults. For example:


$ port variants xorg-libxcb
xorg-libxcb has the variants:
   docs: Install extra documentation
   python25: Use python 2.5
     * conflicts with python26 python27 python31 python32 python33
   python26: Use python 2.6
     * conflicts with python25 python27 python31 python32 python33
[+]python27: Use python 2.7
     * conflicts with python25 python26 python31 python32 python33
   python31: Use python 3.1
     * conflicts with python25 python26 python27 python32 python33
   python32: Use python 3.2
     * conflicts with python25 python26 python27 python31 python33
   python33: Use python 3.3
     * conflicts with python25 python26 python27 python31 python32
(+)universal: Build for multiple architectures


This shows the variants that are available in the xorg-libxcb port. Also, the "[+]" indicator next to the python27 variant means that the portfile turns that variant on by default, while the "(+)" indicator means I've requested that variant in my variants.conf file.



More information about the macports-users mailing list