Opened 7 years ago

Last modified 6 years ago

#55016 closed defect

salt: default_variants issue — at Initial Version

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

Description

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?

Change History (0)

Note: See TracTickets for help on using tickets.