No Makefile only source.c

Joshua Root jmr at macports.org
Sun Apr 15 10:30:34 PDT 2012


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


More information about the macports-dev mailing list