On Oct 21, 2010, at 1:48 AM, [email protected] 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.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to