Skip Menu |

This queue is for tickets about the Bigtop CPAN distribution.

Report information
The Basics
Id: 40646
Status: new
Priority: 0/
Queue: Bigtop

People
Owner: Nobody in particular
Requestors: jarich [...] perltraining.com.au
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.30
Fixed in: (no value)



Subject: Bigtop 0.30 Build.PL does not honour destdir
Like bug http://rt.cpan.org/Public/Bug/Display.html?id=39607 for Gantry, Bigtop does not build cleanly with dh-make-perl (and any other tools which set/respect destdir) when importing templates. The below patch fixes this problem. diff --git a/Build.PL b/Build.PL index e36cff1..8c58837 100644 --- a/Build.PL +++ b/Build.PL @@ -168,7 +168,11 @@ sub _custom_code { my $props = $self->{properties}; my $files = $props->{tentmaker_files}; - my $path = $self->notes( 'tentmaker_template_path' ); + my $path = File::Spec->catfile( + $props->{destdir}, + $self->notes( 'tentmaker_template_path' ) + ); + foreach my $file ( @{ $files } ) { $self->copy_if_modified( $file, $path ); }