Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 57399
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: RSCHUPP [...] cpan.org
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

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



Subject: share dir support (once again)
Hi,

could you please consider the enclosed patch that handles a situation when module's or distribution's share dir (see File::ShareDir) contains DLL files (or generally shared libraries).

Without this patch the DLL files placed into share dir are not extracted which causes troubles for example to Alien::SDL module.

Patch is against PAR-1.000

--
kmx
Subject: PAR.patch
--- PAR.pm.orig Sat Apr 10 14:07:52 2010 +++ PAR.pm Wed May 12 02:07:00 2010 @@ -721,7 +721,7 @@ mkdir($inc) if not -d $inc; for ( $zip->memberNames() ) { - next if m{\.\Q$dlext\E[^/]*$}; + next if (m{\.\Q$dlext\E[^/]*$} && !m{^lib/auto/share/(dist|module)/}); # keep all DLL placed in share dirs s{^/}{}; my $outfile = File::Spec->catfile($inc, $_); next if -e $outfile and not -w _;
I've committed your patch. Cheers, Roderich