Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36363 closed defect (fixed)

port mpkg does not propagate all variants to dependencies

Reported by: stefan+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.1.3
Component: base Version: 2.1.2
Keywords: Cc:
Port:

Description

I'm trying to build a zim dmg with all dependencies included. While my normal port install version works fine and uses +quartz +no_x11, issuing port mdmg zim +quartz +no_x11 still packages e.g. gtk +x11.

(I see that there were tickets about +universal not being respected but either that was not the same problem or the problem got reintroduced.)

Change History (5)

comment:1 Changed 12 years ago by stefan+macports@…

Just a quick follow up: I noticed that it does respect the +python26 variant. It looks as though the variant is only respected for the port that the mdmg is created for, not the dependencies. I now have python 2.6 and 2.7 in the dmg.

Last edited 12 years ago by stefan+macports@… (previous) (diff)

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase

comment:3 Changed 12 years ago by jmroot (Joshua Root)

I can't reproduce this. The variants are applied to the dependencies as expected.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed
Summary: port mdmg does not use specified variantport mpkg does not propagate all variants to dependencies

There is a bug, but not quite what's described above. The variants passed on to dependencies only included those that were actually provided by the top-level port.

r100679

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.1.3
Note: See TracTickets for help on using tickets.