#31777: openjade @1.3.2 clang fails, use llvm-gcc-4.2 instead, and also support +universal --------------------------------------+------------------------------------- Reporter: fgp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang universal haspatch | Port: openjade --------------------------------------+------------------------------------- Changes (by ryandesign@…): * keywords: clang universal => clang universal haspatch Old description:
XCode 4.2's clang fails to build openjade, but llvm-gcc-4.2 works. Also, universal builds don't work because libtool doesn't use the magic "-arch ..." incantations when invoking the compiler.
(More generally, i386 builds fail on machines where x86_64 is the default. Thus, putting openjade into the muniversal portgroup doesn't fix the problems with +universal)
I've fixed both problems by * Setting configure.compiler to llvm-gcc-4.2 if it's set to clang * Using reinplace to patch libtool's CC and CXX settings
Patch for the Portfile is attached.
New description: XCode 4.2's clang fails to build openjade, but llvm-gcc-4.2 works. Also, universal builds don't work because libtool doesn't use the magic "-arch ..." incantations when invoking the compiler. (More generally, i386 builds fail on machines where x86_64 is the default. Thus, putting openjade into the muniversal portgroup doesn't fix the problems with +universal) I've fixed both problems by * Setting configure.compiler to llvm-gcc-4.2 if it's set to clang * Using reinplace to patch libtool's CC and CXX settings Patch for the Portfile is attached. -- -- Ticket URL: <https://trac.macports.org/ticket/31777#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS