mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
archivers/p5-IO-Compress-Lzma: Use 7-zip instead of p7zip
Suggested by: makc
This commit is contained in:
parent
413a8acb62
commit
fba2e3af1d
@ -15,9 +15,9 @@ LICENSE_COMB= dual
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= p5-Compress-Raw-Lzma>=${PORTVERSION}:archivers/p5-Compress-Raw-Lzma \
|
||||
p5-IO-Compress>=${PORTVERSION}:archivers/p5-IO-Compress
|
||||
TEST_DEPENDS= p5-IO-String>=0:devel/p5-IO-String \
|
||||
p5-Test-Pod>=1:devel/p5-Test-Pod \
|
||||
p7zip>=0:archivers/p7zip
|
||||
TEST_DEPENDS= 7zz:archivers/7-zip \
|
||||
p5-IO-String>=0:devel/p5-IO-String \
|
||||
p5-Test-Pod>=1:devel/p5-Test-Pod
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- t/050interop-zip-lzma.t.orig 2020-10-31 11:10:56 UTC
|
||||
+++ t/050interop-zip-lzma.t
|
||||
@@ -22,7 +22,7 @@ BEGIN {
|
||||
use bytes;
|
||||
use warnings;
|
||||
|
||||
-my $P7ZIP ='7z';
|
||||
+my $P7ZIP ='7zz';
|
||||
|
||||
|
||||
sub ExternalP7ZipWorks
|
||||
@@ -115,7 +115,7 @@ sub memError
|
||||
BEGIN {
|
||||
|
||||
# Check external 7za exists
|
||||
- my $p7zip = '7z';
|
||||
+ my $p7zip = '7zz';
|
||||
for my $dir (reverse split ":", $ENV{PATH})
|
||||
{
|
||||
$P7ZIP = "$dir/$p7zip"
|
Loading…
Reference in New Issue
Block a user