ryandesign at macports.org
Thu Jul 4 10:25:59 PDT 2013
On Jul 4, 2013, at 12:05, marius at macports.org wrote:
> Revision: 107723
> Author: marius at macports.org
> Date: 2013-07-04 10:05:50 -0700 (Thu, 04 Jul 2013)
> Log Message:
> Added universal test (includes universal-2 test).
> Added Paths:
> Removed Paths:
> Added: branches/gsoc13-tests/tests/test/universal/DESCRIPTION
> --- branches/gsoc13-tests/tests/test/universal/DESCRIPTION (rev 0)
> +++ branches/gsoc13-tests/tests/test/universal/DESCRIPTION 2013-07-04 17:05:50 UTC (rev 107723)
> @@ -0,0 +1,7 @@
> +This test checks the handling of the universal variant in MacPorts base.
> +Every port should have an universal variant unless 'universal_variant no' is
There are actually many situations that result in the default universal variant not being available:
* universal_variant no
* use_configure no
* supported_archs noarch
In addition, ports can include any number of portgroups, and any of those portgroups could change the behavior. For example, they could disable the universal variant if it is known that all ports of that class of ports cannot be built universal.
Portgroups and individual ports can also add a custom universal variant, if the default one won't work.
> +There are 2 test cases. One for universal variant set and another for no
> +universal variant. For each test a specific Portfile is generated from the
> +Port.in file.
More information about the macports-dev