Opened 7 years ago

Last modified 7 years ago

#55016 closed defect

salt: default_variants issue — at Version 1

Reported by: mf2k (Frank Schima) Owned by: aphor (Jeremy McMillan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: salt

Description (last modified by mf2k (Frank Schima))

The salt portfile needs to add a check before setting the default variant to +python27. 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?

Change History (1)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.