variants not preserved on upgrade
Jeremy Huddleston
jeremyhu at macports.org
Sun Aug 1 22:48:49 PDT 2010
On Jul 31, 2010, at 15:35, Rainer Müller wrote:
> On 2010-08-01 00:07 , Jeremy Huddleston wrote:
>> I have boost installed as +python26+universal:
>> $ port installed boost
>> The following ports are currently installed:
>> boost @1.42.0_0+icu+python26+universal (active)
>>
>> but when upgrading, it's trying to pull in openmpi (which is a variant that conflicts with python26).
>
> I don't see any conflicts between +openmpi and +python26 in the output
> of `port variants boost` or in the Portfile. How did you come to this
> assumption?
From the Portfile:
foreach s ${pythons_suffixes} {
set p python${s}
set v [string index ${s} 0].[string index ${s} 1]
set i [lsearch -exact ${pythons_ports} ${p}]
set c [lreplace ${pythons_ports} ${i} ${i}]
eval [subst {
variant ${p} description "Build Boost.Python for Python ${v}" conflicts ${c} debug {
# Cannot build debug variants with openmpi and python variants as per the following:
# <http://trac.macports.org/ticket/23667> and <https://svn.boost.org/trac/boost/ticket/4461>
More information about the macports-dev
mailing list