[MacPorts] #31777: openjade @1.3.2 clang fails, use llvm-gcc-4.2 instead, and also support +universal
MacPorts
noreply at macports.org
Tue Oct 25 16:19:15 PDT 2011
#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 | Port: openjade
-----------------------------+----------------------------------------------
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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list