Deepmind Tree Bazel Build Portfile Help Request

Ryan Schmidt ryandesign at macports.org
Tue Jul 7 19:48:33 UTC 2020



On Jul 7, 2020, at 14:15, Steven Smith wrote:

> New issue `port destroot` tries to build with bazel again, and this breaks because of permissions issues.
> 
> Is there a simple way to just copy the stuff it already built into destroot?

That's what one would expect "make install" (or whatever this build system's equivalent of that is) to do that for you. If it doesn't, figure out with the developers of the build system what to do about that.

You can override the destroot phase by defining a block that does whatever you want:

destroot {
    copy ${worksrcpath}/whatever ${destroot}${prefix}/wherever
    copy somethingelse somewhereelse
}


More information about the macports-dev mailing list