Perl-Dist-WiX

changeset 1060:a1d077cb6961

Make sure the packlist for Version::Requirements is found.

(case-sensitivity is killing us in the check.)
author Curtis Jewell <perl@curtisjewell.name>
date Wed Jun 15 06:32:01 2011 -0600 (2011-06-15)
parents cb8dc2759add
children 9438655c2750
files lib/Perl/Dist/WiX/Mixin/BuildPerl.pm lib/Perl/Dist/WiX/Role/NonURLAsset.pm
line diff
     1.1 --- a/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Wed Jun 15 03:46:37 2011 -0600
     1.2 +++ b/lib/Perl/Dist/WiX/Mixin/BuildPerl.pm	Wed Jun 15 06:32:01 2011 -0600
     1.3 @@ -67,10 +67,11 @@
     1.4  # Values are the directory name the .packlist file is in, with
     1.5  # / being converted to ::.
     1.6  Readonly my %CORE_PACKLIST_FIX => (
     1.7 -	'IO::Compress::Base' => 'IO::Compress',
     1.8 -	'Pod::Man'           => 'Pod',
     1.9 -	'Filter::Util::Call' => 'Filter',
    1.10 -	'Locale::Maketext'   => 'Locale-Maketext',
    1.11 +	'IO::Compress::Base'    => 'IO::Compress',
    1.12 +	'Pod::Man'              => 'Pod',
    1.13 +	'Filter::Util::Call'    => 'Filter',
    1.14 +	'Locale::Maketext'      => 'Locale-Maketext',
    1.15 +	'Version::Requirements' => 'version::Requirements',
    1.16  );
    1.17  
    1.18  # List of modules to delay building until last when upgrading all CPAN
     2.1 --- a/lib/Perl/Dist/WiX/Role/NonURLAsset.pm	Wed Jun 15 03:46:37 2011 -0600
     2.2 +++ b/lib/Perl/Dist/WiX/Role/NonURLAsset.pm	Wed Jun 15 06:32:01 2011 -0600
     2.3 @@ -189,10 +189,10 @@
     2.4  		);
     2.5  	}
     2.6  	
     2.7 -	# If we were given a packlist location, try there, too!
     2.8 +	# If we were given a packlist location, try there, first!
     2.9  	my $packlist_location = $self->_get_packlist_location();
    2.10  	if ( defined $packlist_location ) {
    2.11 -		push @dirs,
    2.12 +		unshift @dirs,
    2.13  		  (
    2.14  			catdir(
    2.15  				$image_dir, qw{perl vendor lib auto},