On 2012-4-16 03:25 , Matthew Cottrell wrote:
> build.cmd               ${configure.compiler}

Should be ${configure.cc}. You also might as well use it directly
instead of via build.cmd if you're going to define a completely custom
build phase.

> build                   {
>                         ${build.cmd} -Wall -O3 -finline-functions 
> -funroll-loops -o FastTree -lm FastTree-2.1.3
>                         }

This doesn't work because clang is not a Tcl command. You have to shell out:

system -W ${worksrcpath} "${configure.cc} -Wall -O3 -finline-functions
-funroll-loops -o FastTree -lm FastTree-2.1.3"

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

Reply via email to