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
Download (untitled) / with headers
text/plain 816b
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 ); }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.