Opened 12 years ago

Closed 12 years ago

#33851 closed defect (fixed)

qgis sets default_variants incorrectly

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: qgis

Description

qgis sets default_variants unconditionally:

$ grep default_variants $(port file qgis) 
default_variants	+python27 +postgis +postgresql91

This causes problems for users who want to use a variant different from one of the defaults:

$ sudo port install qgis +python26
Error: qgis: Variant python26 conflicts with python27
Error: Unable to open port: Error evaluating variants

You must only set +python27 as the default variant if the user has not already requested a different python variant. See wiki:PortfileRecipes#default_variants.

Similarly, you must only set +postgresql91 as the default variant if the user has not already requested a different postgresql variant.

Change History (1)

comment:1 Changed 12 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Done in r91416. Thanks Ryan.

Note: See TracTickets for help on using tickets.