unorthodox build setup?

Ryan Schmidt ryandesign at macports.org
Thu Oct 4 16:57:30 UTC 2018



On Oct 4, 2018, at 11:55, Mark Brethen wrote:

> There’s just one glitch, the name of the build directory is determined by 
> 
> BUILD = $(shell ../../scripts/findhost.sh $(shell src/config.guess))
> 
> I can set it after the extract phase like so
> 
> post-extract {
> set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]
> configure.dir ${worksrcdir}/${builddir}
> }
> 
> but then configure.dir isn't global for the config/build phases, is it?

That's correct.

Can you fix the build system so that it uses a predictable build directory name (such as "build"), and then use that name in the portfile?



More information about the macports-dev mailing list