I’d have to patch makefile and config.ac, at least. Can set variables be 
exported to global?  


Mark Brethen
[email protected]



> On Oct 4, 2018, at 11:57 AM, Ryan Schmidt <[email protected]> wrote:
> 
> 
> 
> 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?
> 

Reply via email to