[MacPorts] #33851: qgis sets default_variants incorrectly
MacPorts
noreply at macports.org
Sat Mar 31 19:08:01 PDT 2012
#33851: qgis sets default_variants incorrectly
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: vince@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: qgis
-------------------------------------+--------------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/33851>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list