#23091: InsightToolkit +universal is not universal --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: dweber@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: InsightToolkit | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 dweber@…]:
I wonder what it is about the universal variant that does not work with
InsightToolkit. Is it that InsightToolkit is using cmake for the build and the universal variant does not set the right options for cmake (or cmake does not accommodate a universal build)? Absolutely. The default universal variant is designed for software that uses autotools-type configure scripts. For software that uses cmake, we have the cmake portgroup which takes care of the differences in the cmake build system and includes its own universal variant.
Are there specific examples of other ports where the universal variant does not work and they override it to get it working?
Sure, lots. You can grep the dports directory for "variant universal" to see many of them. But I'd try using the cmake portgroup first as it may "just work". -- Ticket URL: <http://trac.macports.org/ticket/23091#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS