Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit ff2ee9f87031a73b451762775ba15497f3c124f3 1 parent f0a1f9c
@rurban rurban authored
View
2  config/auto/cpu/i386/auto.pm
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2006, Parrot Foundation.
+# Copyright (C) 2001-2013, Parrot Foundation.
=head1 NAME
View
5 config/auto/cpu/ppc/auto.pm
@@ -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();
View
3  config/auto/cpu/sun4/auto.pm
@@ -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
14 lib/Parrot/Configure.pm
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.