[MacPorts] #31492: inkscape: gcc >= 3.0 is needed to compile inkscape
MacPorts
noreply at macports.org
Sat Oct 8 06:28:32 PDT 2011
#31492: inkscape: gcc >= 3.0 is needed to compile inkscape
---------------------------------+------------------------------------------
Reporter: fbartolom@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: inkscape
---------------------------------+------------------------------------------
Comment(by devans@…):
Although I don't have Lion installed, I was able to confirm the problem on
XCode 4.1/SL as well by setting
{{{
configure.compiler clang
}}}
The gcc version check in configure fails, not because the clang version is
3.0 or less (2.1 in XCode 4.1) but because the check is looking for a line
with the string 'gcc version' in the output of 'clang -v' which it never
finds. This sets results in the extracted major version being set to 0.
I tried disabling this check in the case where clang is the compiler and
configure completed successfully, but the build phase fails
miserably using clang.
Attached is a patch for the port file that sets the compiler to llvm-
gcc-4.2 if the selected compiler is clang. This works for me
but needs to be tested on Lion.
Please let me know if this works on Lion or if not what modifications to
make.
Thanks
--
Ticket URL: <https://trac.macports.org/ticket/31492#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list