archive_extract: rebuild for perl update, cleanup patch

This commit is contained in:
Joachim Mairböck
2025-12-24 19:55:30 +01:00
parent 278dcf8652
commit f023261d89
2 changed files with 3 additions and 25 deletions

View File

@@ -6,11 +6,10 @@ commandline tools"
HOMEPAGE="https://metacpan.org/pod/Archive::Extract"
COPYRIGHT="2006-2021 Andy Lester"
LICENSE="Artistic"
REVISION="3"
REVISION="4"
SOURCE_URI="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Archive-Extract-$portVersion.tar.gz"
CHECKSUM_SHA256="cffcf135cd0622287d3b02154f7d6716495449fcaed03966621948e25ea5f742"
SOURCE_DIR="Archive-Extract-$portVersion"
PATCHES="archive_extract-$portVersion.patchset"
ARCHITECTURES="any"
@@ -32,7 +31,8 @@ BUILD_PREREQUIRES="
BUILD()
{
perl Makefile.PL PREFIX=$prefix
# this overrides INSTALLDIRS for historic reasons, thus we need to specify it manually
perl Makefile.PL PREFIX=$prefix INSTALLDIRS=vendor
make
}

View File

@@ -1,22 +0,0 @@
From 01a14737b604bbe58981d6a7f058347f63d3e41a Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Fri, 8 Sep 2023 12:43:19 +0200
Subject: Install in vendor_perl instead of site_perl
diff --git a/Makefile.PL b/Makefile.PL
index 509e74a..8826632 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -22,7 +22,7 @@ WriteMakefile1(
'Module::Load::Conditional' => 0.66,
'Locale::Maketext::Simple' => 0,
},
- INSTALLDIRS => ( $] >= 5.009005 && $] < 5.012 ? 'perl' : 'site' ),
+ INSTALLDIRS => ( $] >= 5.009005 && $] < 5.012 ? 'perl' : 'vendor' ),
AUTHOR => 'Jos Boumans <kane[at]cpan.org>',
ABSTRACT => 'Generic archive extracting mechanism'
);
--
2.42.0