Change worksrcpath for build phase

Ryan Schmidt ryandesign at macports.org
Thu Mar 3 15:27:11 PST 2011


On Mar 3, 2011, at 17:12, justin t wrote:

> I'm trying to configure and build in a custom directory. I don't want to configure/run in the source tree. My pre-configure correctly cd's into ${worksrcpath}/buildTree, which I created, but my pre-build phase doesn't work. It still cd's into ${worksrcpath}.
> 
> pre-build {
>     file mkdir                   ${worksrcpath}/buildTree
>     set worksrcpath          ${worksrcpath}/builtTree
> }

This is a portfile development question and belongs on macports-dev.






More information about the macports-users mailing list