#20739: Allow ports to indicate supported architectures -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 njbutko@…]:
As a MacPorts user (not developer), I think this is critical. It would have headed off the majority of these Snow Leopard issues before they even started. Unfortunately, nobody wrote any code to do this yet. By default, I would like to see all dependencies built universally with the maximum amount of available architectures (including arm6/arm7 if applicable). This would allow for maximum flexibility -- if I want to install OpenCV, which links to Carbon and old Quicktime libraries and must be built in 32-bit mode, I still want the dependency libpng to be installed in the most flexible way. That way, later if I want to develop an iphone program that links to graphviz, which links to libpng, I'll be all set.
It's really unfortunate that "port install foo" tries to only compile the default system architecture, and not something appropriate for foo. You can put "+universal" in your variants.conf if you want everything built universal. I suggested yesterday on the mailing list that we should do this by default on Snow Leopard. You can indicate what architectures you want in macports.conf. However, on Snow Leopard there's no point to specifying anything more than i386/x86_64, since Snow Leopard doesn't run on PowerPC.
I would expect nothing but problems by attempting to build ports for arm6, arm7, or any architecture other than i386/x86_64/ppc/ppc64 in MacPorts, so I would recommend not trying that. -- Ticket URL: <http://trac.macports.org/ticket/20739#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS