[MacPorts] #55016: salt: default_variants issue
MacPorts
noreply at macports.org
Fri Oct 6 15:06:34 UTC 2017
#55016: salt: default_variants issue
--------------------+-------------------
Reporter: mf2k | Owner: aphor
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: salt
--------------------+-------------------
the salt portfile needs to add a check before setting the default variant
to +python26. I have +python36 in my variants.conf file and I see the
following error:
{{{
$ port info salt
Error: salt: Variant python27 conflicts with python36
Error: Unable to open port: Error evaluating variants
}}}
The fix is to change:
{{{
default_variants +python27
}}}
to
{{{
if {![variant_isset python34] && ![variant_isset python35] &&
![variant_isset python36]} {
default_variants +python27
}
}}}
I can make this change if the maintainer approves?
--
Ticket URL: <https://trac.macports.org/ticket/55016>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list