New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/33089#issuecomment-927091957 Comment: I think that using `perl-cross` for everything means sacrificing too much in favor of cross-compiling. This is what gentoo does, similar to what I proposed: ``` if tc-is-cross-compiler; then ./configure \ --target="${CHOST}" \ --build="${CBUILD}" \ -Dinstallprefix='' \ -Dinstallusrbinperl='undef' \ -Dusevendorprefix='define' \ "${myconf[@]}" \ || die "Unable to configure" else sh Configure \ -des \ -Dinstallprefix="${EPREFIX}"'/usr' \ -Dinstallusrbinperl='n' \ "${myconf[@]}" \ || die "Unable to configure" fi ``` Edit: no test failures after deleting obsolete patches. If you prefer to keep the status quo, that's also fine, in which case just close this PR :)