update p5-List-MoreUtils to 0.426
remove useless bundled modules in inc
This commit is contained in:
parent
31ab6ccf63
commit
e20a64b003
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2017/09/12 13:46:36 bluhm Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2017/10/18 15:18:36 bluhm Exp $
|
||||
|
||||
COMMENT = provide the stuff missing in List::Util
|
||||
|
||||
DISTNAME = List-MoreUtils-0.425
|
||||
DISTNAME = List-MoreUtils-0.426
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
@ -13,9 +13,14 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = cpan
|
||||
RUN_DEPENDS = devel/p5-Exporter-Tiny>=0.038 \
|
||||
devel/p5-List-MoreUtils-XS>=0.423
|
||||
devel/p5-List-MoreUtils-XS>=0.426
|
||||
TEST_DEPENDS = devel/p5-Test-LeakTrace
|
||||
|
||||
PKG_ARCH = *
|
||||
|
||||
# Do not use Config::AutoConf to figure out that we can load XS modules.
|
||||
# Reduces amount of bundled 3rd party code, makes review easier.
|
||||
post-extract:
|
||||
rm -rf -- ${WRKSRC}/inc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (List-MoreUtils-0.425.tar.gz) = KPwz1CGB3uAEexntulUwFUeUP9kKqmLwyLIdGkdbZVg=
|
||||
SIZE (List-MoreUtils-0.425.tar.gz) = 111444
|
||||
SHA256 (List-MoreUtils-0.426.tar.gz) = jgVhDQTG0M22NgfYiVD9XG6FCnHOoeETjr9cJsg6R7Y=
|
||||
SIZE (List-MoreUtils-0.426.tar.gz) = 145518
|
||||
|
17
devel/p5-List-MoreUtils/patches/patch-MANIFEST
Normal file
17
devel/p5-List-MoreUtils/patches/patch-MANIFEST
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-MANIFEST,v 1.1 2017/10/18 15:18:36 bluhm Exp $
|
||||
|
||||
Index: MANIFEST
|
||||
--- MANIFEST.orig
|
||||
+++ MANIFEST
|
||||
@@ -1,11 +1,6 @@
|
||||
ARTISTIC-1.0
|
||||
Changes
|
||||
GPL-1
|
||||
-inc/Config/AutoConf/LMU.pm
|
||||
-inc/inc_Capture-Tiny/Capture/Tiny.pm
|
||||
-inc/inc_Config-AutoConf/Config/AutoConf.pm
|
||||
-inc/latest.pm
|
||||
-inc/latest/private.pm
|
||||
lib/List/MoreUtils.pm
|
||||
lib/List/MoreUtils/Contributing.pod
|
||||
lib/List/MoreUtils/PP.pm
|
47
devel/p5-List-MoreUtils/patches/patch-Makefile_PL
Normal file
47
devel/p5-List-MoreUtils/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,47 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1 2017/10/18 15:18:36 bluhm Exp $
|
||||
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -16,23 +16,8 @@ BEGIN
|
||||
}
|
||||
}
|
||||
|
||||
-use inc::latest 'Capture::Tiny';
|
||||
-use inc::latest 'Config::AutoConf';
|
||||
+my $loadable_xs = 1;
|
||||
|
||||
-if (inc::latest->can("write"))
|
||||
-{
|
||||
- inc::latest->write("inc");
|
||||
- for my $mod (inc::latest->loaded_modules)
|
||||
- {
|
||||
- inc::latest->bundle_module($mod, "inc");
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-use inc::Config::AutoConf::LMU ();
|
||||
-
|
||||
-inc::Config::AutoConf::LMU->_set_argv(@ARGV); # XXX hack because we cannot construct for global use
|
||||
-my $loadable_xs = inc::Config::AutoConf::LMU->check_produce_loadable_xs_build();
|
||||
-
|
||||
if (-d "Sandbox")
|
||||
{
|
||||
unless (grep { $_ eq "." } @INC)
|
||||
@@ -76,8 +61,6 @@ my %RUN_DEPS = (
|
||||
($loadable_xs ? ('List::MoreUtils::XS' => '0.426') : ())
|
||||
);
|
||||
my %BUNDLE_CONFIGURE_DEPS = (
|
||||
- 'inc::latest' => '0.500',
|
||||
- 'Config::AutoConf' => '0.315',
|
||||
);
|
||||
my %CONFIGURE_DEPS = (
|
||||
'ExtUtils::MakeMaker' => 0,
|
||||
@@ -125,7 +108,6 @@ WriteMakefile1(
|
||||
},
|
||||
configure => {
|
||||
requires => {%CONFIGURE_DEPS},
|
||||
- recommends => {'Config::AutoConf' => '0.315'}
|
||||
},
|
||||
test => {
|
||||
requires => {%TEST_DEPS},
|
Loading…
x
Reference in New Issue
Block a user