Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,29 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.24 2013/05/31 12:40:18 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2014/02/16 18:57:17 sno Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ExtUtils-MakeMaker-6.62
|
||||
DISTNAME= ExtUtils-MakeMaker-6.88
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=ExtUtils/}
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/B/BI/BINGOS/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/ExtUtils-MakeMaker/
|
||||
COMMENT= Write a Makefile for an extension module from a Makefile.PL
|
||||
HOMEPAGE= https://metacpan.org/release/ExtUtils-MakeMaker
|
||||
COMMENT= Create a module Makefile
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
DEPENDS+= p5-CPAN-Meta>=2.112150:../../devel/p5-CPAN-Meta
|
||||
DEPENDS+= p5-Parse-CPAN-Meta>=1.4401:../../devel/p5-Parse-CPAN-Meta
|
||||
DEPENDS+= p5-File-Copy-Recursive>=0.38:../../sysutils/p5-File-Copy-Recursive
|
||||
# perhaps package JSON::PP::Compat5006, otherwise 'make complains:
|
||||
#Using included version of JSON::PP::Compat5006 (1.09) because it is not already installed.
|
||||
# on the other hand, it's only needed for Perl-5.6 ...
|
||||
|
||||
PERL5_PACKLIST= auto/ExtUtils/MakeMaker/.packlist
|
||||
|
||||
pre-configure:
|
||||
${FIND} ${WRKSRC} -name "*.orig" -type f -exec ${RM} {} \;
|
||||
PERL5_PACKLIST= auto/ExtUtils/MakeMaker/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.13 2012/03/22 13:37:34 sno Exp $
|
||||
$NetBSD: distinfo,v 1.15 2014/02/16 18:57:17 sno Exp $
|
||||
|
||||
SHA1 (ExtUtils-MakeMaker-6.62.tar.gz) = a32a31854f787bf0410436bfa04ab542925dadeb
|
||||
RMD160 (ExtUtils-MakeMaker-6.62.tar.gz) = c0fe174fa9301ddd8cb096d19d4ba69310147754
|
||||
Size (ExtUtils-MakeMaker-6.62.tar.gz) = 415020 bytes
|
||||
SHA1 (patch-ab) = 40a76f3ab194722e35d47ebc72dc656868079e2e
|
||||
SHA1 (patch-ad) = f0c1e23d3342b37805f29f2853de2f24b194d0a0
|
||||
SHA1 (ExtUtils-MakeMaker-6.88.tar.gz) = b0876f4d8853cff3842bb1bf07c252a9799028bf
|
||||
RMD160 (ExtUtils-MakeMaker-6.88.tar.gz) = 431c469698686960f95d0be877790baa0794a3d4
|
||||
Size (ExtUtils-MakeMaker-6.88.tar.gz) = 436411 bytes
|
||||
SHA1 (patch-ab) = ac90541177413101821a46236786e6f05b1cb7e5
|
||||
SHA1 (patch-ad) = 75cadd7275ad7cc6bf31b8440a867a575f57bc00
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
$NetBSD: patch-ab,v 1.5 2011/12/08 22:44:24 hiramatsu Exp $
|
||||
$NetBSD: patch-ab,v 1.7 2014/02/16 18:57:17 sno Exp $
|
||||
|
||||
Changes:
|
||||
o More general adaptation for BSDs
|
||||
o Install scripts in DESTINSTALLSITESCRIPT instead of DESTINSTALLSCRIPT
|
||||
o Ignore installed packlist when creating new packlist.
|
||||
|
||||
--- lib/ExtUtils/MM_Unix.pm.orig 2011-08-05 11:13:10.000000000 +0000
|
||||
--- lib/ExtUtils/MM_Unix.pm.orig 2014-01-31 20:50:13.000000000 +0000
|
||||
+++ lib/ExtUtils/MM_Unix.pm
|
||||
@@ -932,7 +932,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
|
||||
@@ -934,7 +934,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
|
||||
|
||||
my $libs = '$(LDLOADLIBS)';
|
||||
|
||||
- if (($Is{NetBSD} || $Is{Interix}) && $Config{'useshrplib'} eq 'true') {
|
||||
+ if ($Is{BSD} && $Config{'useshrplib'} eq 'true') {
|
||||
- if (($Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') {
|
||||
+ if (($Is{BSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') {
|
||||
# Use nothing on static perl platforms, and to the flags needed
|
||||
# to link against the shared libperl library on shared perl
|
||||
# platforms. We peek at lddlflags to see if we need -Wl,-R
|
||||
@@ -2060,7 +2060,7 @@ pure_perl_install :: all
|
||||
$(INST_LIB) $(DESTINSTALLPRIVLIB) \
|
||||
@@ -2087,7 +2087,7 @@ q{ read }.$self->catfile('$(PERL_ARCHLI
|
||||
q{ $(INST_LIB) $(DESTINSTALLPRIVLIB) \
|
||||
$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
|
||||
$(INST_BIN) $(DESTINSTALLBIN) \
|
||||
- $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
|
||||
@@ -25,12 +25,12 @@ Changes:
|
||||
$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
|
||||
$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
|
||||
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
|
||||
@@ -2082,7 +2082,7 @@ pure_site_install :: all
|
||||
|
||||
pure_vendor_install :: all
|
||||
@@ -2098,7 +2098,7 @@ pure_site_install :: all
|
||||
$(NOECHO) $(MOD_INSTALL) \
|
||||
- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
|
||||
+ read "" \
|
||||
write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
|
||||
$(INST_LIB) $(DESTINSTALLVENDORLIB) \
|
||||
$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
|
||||
};
|
||||
push @m,
|
||||
-q{ read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
|
||||
+q{ read "" \
|
||||
write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
|
||||
} unless $self->{NO_PACKLIST};
|
||||
|
||||
|
||||
@@ -1,33 +1,20 @@
|
||||
$NetBSD: patch-ad,v 1.4 2011/08/10 12:01:13 adam Exp $
|
||||
$NetBSD: patch-ad,v 1.6 2014/02/16 18:57:17 sno Exp $
|
||||
|
||||
Perl in pkgsrc doesn't install or tweak perllocal.pod, so comment
|
||||
out that test.
|
||||
|
||||
Also apply fix to test culled by following references from
|
||||
http://rt.cpan.org/Public/Bug/Display.html?id=40698
|
||||
Expected output is now only present when VERBINST=1.
|
||||
|
||||
--- t/INSTALL_BASE.t.orig 2009-02-20 00:30:32.000000000 +0000
|
||||
+++ t/INSTALL_BASE.t 2009-04-12 00:49:30.000000000 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
use File::Path;
|
||||
use Config;
|
||||
|
||||
-use Test::More tests => 20;
|
||||
+use Test::More tests => 18;
|
||||
--- t/INSTALL_BASE.t.orig 2013-09-12 20:16:09.000000000 +0000
|
||||
+++ t/INSTALL_BASE.t
|
||||
@@ -13,7 +13,7 @@ use Config;
|
||||
use Test::More
|
||||
$ENV{PERL_CORE} && $Config{'usecrosscompile'}
|
||||
? (skip_all => "no toolchain installed when cross-compiling")
|
||||
- : (tests => 20);
|
||||
+ : (tests => 18);
|
||||
use MakeMaker::Test::Utils;
|
||||
use MakeMaker::Test::Setup::BFD;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
my $make = make_run();
|
||||
run("$make"); # this is necessary due to a dmake bug.
|
||||
-my $install_out = run("$make install");
|
||||
+my $install_out = run("$make install VERBINST=1");
|
||||
is( $?, 0, ' make install exited normally' ) || diag $install_out;
|
||||
like( $install_out, qr/^Installing /m );
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
@@ -58,7 +58,7 @@ my @installed_files =
|
||||
('../dummy-install/lib/perl5/Big/Dummy.pm',
|
||||
'../dummy-install/lib/perl5/Big/Liar.pm',
|
||||
'../dummy-install/bin/program',
|
||||
|
||||
Reference in New Issue
Block a user