# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/rakudo/rakudo.conf # Copyright (C) 2021 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- # Raku toolchain doesn't use autotools, therefore the configure stage has to # be modified to support its Configure.pl script if [ "$arch_build" != "$arch_target" ]; then var_append confopt " " "--build=$arch_build" var_append confopt " " "--host=$arch_target" fi confopt="--prefix=$root/$prefix --backends=moar" hook_add preconf 2 "perl Configure.pl $confopt"