cmake universal?

Ryan Schmidt ryandesign at macports.org
Sun Jul 6 03:28:16 PDT 2014


On Jul 6, 2014, at 4:31 AM, René J.V. Bertin wrote:

> On Saturday July 05 2014 18:30:57 Ryan Schmidt wrote:
>  
> >No. MacPorts base does not have the capability to depend on a variant of another port, only to depend on another port. See ticket #126.
> >
> >The active_variants 1.1 portgroup's require_active_variants procedure is the closest thing we have to that capability right now, but because it is not part of the base functionality, you cannot run queries for ports using it.
>  
> That's a pity. I take it there's also nothing recorded in the registry like a per-port "was installed because of port Y"?

I believe that's correct. However, MacPorts does record whether you requested a port (by running "sudo port install X") or whether the port was installed because it was a dependency of something else. You can use the pseudoports "requested" and "unrequested" to address these sets of ports (for example "port installed requested" and "port installed unrequested"). You can use the commands "setrequested" and "unsetrequested" to change these lists (e.g. "sudo port unsetrequested Z"). Ports that are both unrequested and are not currently needed by anything else are called "leaves" (e.g. "sudo port uninstall leaves").


> >Yes, wine is still 32-bit, so it needs 32-bit versions of dependencies. If your machine is 64-bit, that means universal versions of dependencies will be used. I know of no plans to discontinue universal variants in MacPorts, and I would be opposed to such a change if someone were to propose it. There is not a separate universal variant buildslave, however if universal versions are needed by default (as is the case for wine) then the buildslaves will build those.
>  
> Good to know! :) A bit curious then that (I think) I've seen universal variants for older versions  (and/or other OS versions) of certain ports. But that's maybe just because it takes time for new versions to be built and permeated throughout the mirror network and/or there's a certain feedback concerning what ports are being installed? 

New universal versions of ports would only be built by the buildslaves when a port requiring them (such as wine) has a change committed to it.




More information about the macports-users mailing list