[72570] trunk/dports/lang
Jeremy Huddleston
jeremyhu at macports.org
Thu Jul 7 11:31:54 PDT 2011
On Oct 21, 2010, at 1:48 AM, mfeiri at macports.org wrote:
> + # clang uses hardcoded paths to find ld, see lib/Driver/ToolChains.cpp
> + post-destroot {
> + file mkdir ${destroot}${prefix}/libexec/gcc/i686-apple-darwin${os.major}/4.2.1
> + ln -s ../../../../bin/ld ${destroot}${prefix}/libexec/gcc/i686-apple-darwin${os.major}/4.2.1/ld
> + }
So patch lib/Driver/ToolChains.cpp, don't pollute $destroot in a way that is easy to collide with other ports.
More information about the macports-dev
mailing list