On Sat, Nov 25, 2023 at 05:45:35PM +0100, Rainer Müller <rai...@macports.org> wrote:
> On 25.11.23 16:07, Joshua Root wrote: > > The default destroot phase builds a string to pass to 'system' by > > combining destroot.cmd, destroot.args, etc. In this case, it might be > > easiest to use those for the rakudo command, and create the symlinks in > > a post-destroot block? > > Also note that all files have to be put into ${destroot} during the > destroot phase. The files will afterwards be put into an archive from > this ${destroot} and will only later be moved to the real ${prefix} > when activating the port. > > When moving these symlink commands to a post-destroot phase, these should > look like this: > > post-destroot { > ln -s "${prefix}/share/perl6/site/bin/zef" > "${destroot}${prefix}/bin/zef" > ln -s "${prefix}/share/perl6/site/bin/zef-m" > "${destroot}${prefix}/bin/zef-m" > } > > Rainer Thanks. I spotted that mistake too. cheers, raf