Permalink
Browse files

[GH #903] Fix first MANIFEST.generated lines on i386, sun4, ppc

Add Parrot::Configure->add_to_generated() method, forwarding to Parrot::BuildUtil::add_to_generated,
used in some auto::cpu probes. Do not pollute the probes with use Parrot::BuildUtil.
  • Loading branch information...
1 parent f0a1f9c commit ff2ee9f87031a73b451762775ba15497f3c124f3 Reini Urban committed Jan 2, 2013
Showing with 17 additions and 7 deletions.
  1. +1 −1 config/auto/cpu/i386/auto.pm
  2. +2 −3 config/auto/cpu/ppc/auto.pm
  3. +1 −2 config/auto/cpu/sun4/auto.pm
  4. +13 −1 lib/Parrot/Configure.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
=head1 NAME
@@ -1,8 +1,8 @@
-# Copyright (C) 2001-2007, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
=head1 NAME
-config/auto/cpu/i386/auto.pm
+config/auto/cpu/ppc/auto.pm
=head1 DESCRIPTION
@@ -36,7 +36,6 @@ sub runstep {
);
$conf->debug(" (\U$suffix) ");
$conf->add_to_generated( $f, "[]" );
- # $conf->append_configure_log($f);
}
}
$conf->cc_clean();
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2007, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
=head1 NAME
@@ -59,7 +59,6 @@ sub runstep {
);
$conf->debug(" (\U$suffix) ");
$conf->data->add( ' ', TEMP_atomic_o => 'src/atomic/sparc_v9.o' );
- # $conf->append_configure_log($f);
$conf->add_to_generated( $f, "[]" );
}
}
View
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2009, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
package Parrot::Configure;
@@ -43,6 +43,7 @@ use Carp qw(carp);
use Storable qw(2.12 nstore retrieve nfreeze thaw);
use Parrot::Configure::Data;
use base qw(Parrot::Configure::Compiler);
+use Parrot::BuildUtil ();
use Class::Struct;
@@ -570,6 +571,17 @@ sub debug {
return 1;
}
+=item * C<add_to_generated($path, $section [, $dir])>
+
+Forward this method to Parrot::BuildUtil.
+
+=cut
+
+sub add_to_generated {
+ my $conf = shift;
+ Parrot::BuildUtil::add_to_generated(@_);
+}
+
=back
=head1 CREDITS

0 comments on commit ff2ee9f

Please sign in to comment.