File rakudo.diff of Package rakudo
--- ./Configure.pl.orig 2009-10-22 15:31:33.000000000 +0000
+++ ./Configure.pl 2009-10-23 14:06:04.000000000 +0000
@@ -60,7 +60,7 @@ MAIN: {
if (!%config) {
$parrot_errors .= "Unable to locate parrot_config\n";
}
- elsif ($reqsvn > $config{'revision'} &&
+ elsif ($config{'revision'} && $reqsvn > $config{'revision'} &&
($reqpar eq '' || version_int($reqpar) > version_int($config{'VERSION'}))) {
$parrot_errors .= "Parrot revision r$reqsvn required (currently r$config{'revision'})\n";
}
@@ -129,7 +129,7 @@ sub verify_parrot {
my %config = @_;
my $PARROT_VERSION = $config{'versiondir'};
my $PARROT_LIB_DIR = $config{'libdir'}.$PARROT_VERSION;
- my $PARROT_SRC_DIR = $config{'srcdir'}.$PARROT_VERSION;
+ my $PARROT_SRC_DIR = $config{'libdir'}.$PARROT_VERSION.'/src';
my $PARROT_INCLUDE_DIR = $config{'includedir'}.$PARROT_VERSION;
my $PARROT_TOOLS_DIR = "$PARROT_LIB_DIR/tools";
my @required_files = (
--- ./build/Makefile.in.orig 2009-10-22 15:31:33.000000000 +0000
+++ ./build/Makefile.in 2009-10-23 14:08:16.000000000 +0000
@@ -234,6 +234,7 @@ xmas: perl6$(EXE)
## targets for building a standalone perl6.
perl6$(EXE): perl6.pbc
$(PBC_TO_EXE) perl6.pbc
+ $(PBC_TO_EXE) perl6.pbc --install
# the Perl 6 compiler
perl6.pbc: perl6_s1.pbc src/gen_setting.pm
--- ./build/gen_objectref_pmc.pl.orig 2009-09-21 15:57:37.000000000 +0000
+++ ./build/gen_objectref_pmc.pl 2009-10-23 14:06:04.000000000 +0000
@@ -38,7 +38,7 @@ unless (-e $template) {
my $template_contents = slurp($template);
# Read v-tables list and get list of functions from it.
-my $vtable_list = slurp($PConfig{srcdir}.$PConfig{versiondir}.'/vtable.tbl');
+my $vtable_list = slurp($PConfig{libdir}.$PConfig{versiondir}.'/src/vtable.tbl');
my @all_vtables = extract_matches($vtable_list, '(\w+)\\(');
# Find v-table methods defined in the ObjectRef template and exclude