On Mon, Nov 27, 2023 at 06:08:00AM +1100, Joshua Root wrote:
> raf wrote:
>
> > I tried just putting "system" before the command but it didn't work.
> > I couldn't find the documentation for tcl's system,
>
> System isn't a standard Tcl thing, it's provided by MacPorts. It's closely
> analogous
raf wrote:
I tried just putting "system" before the command but it didn't work.
I couldn't find the documentation for tcl's system,
System isn't a standard Tcl thing, it's provided by MacPorts. It's
closely analogous to system(3). It takes a single string which is passed
to 'sh -c'.
It's d
On Sat, Nov 25, 2023 at 05:45:35PM +0100, Rainer Müller
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,
On Sun, Nov 26, 2023 at 02:07:39AM +1100, Joshua Root wrote:
> raf wrote:
>
> > The destroot part looks like this:
> >
> >destroot {
> >"${prefix}/bin/rakudo" -I"${worksrcpath}" bin/zef \
> >--to="inst#${destroot}${prefix}/share/perl6/site" \
> >install "${wo
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
raf wrote:
The destroot part looks like this:
destroot {
"${prefix}/bin/rakudo" -I"${worksrcpath}" bin/zef \
--to="inst#${destroot}${prefix}/share/perl6/site" \
install "${worksrcpath}"
ln -s "${prefix}/share/perl6/site/bin/zef" "${prefix}/bin/zef"