Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
This utility is designed to write a Makefile for an extension module
from a Makefile.PL. It is based on the Makefile.SH model provided
by Andy Dougherty and the perl5-porters.
It splits the task of generating the Makefile into several subroutines
that can be individually overridden. Each subroutine returns the
text it wishes to have written to the Makefile.
MakeMaker is object oriented. Each directory below the current
directory that contains a Makefile.PL is treated as a separate
object. This makes it possible to write an unlimited number of
Makefiles with a single invocation of WriteMakefile().
+29
View File
@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.24 2013/05/31 12:40:18 wiz Exp $
DISTNAME= ExtUtils-MakeMaker-6.62
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=ExtUtils/}
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
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} {} \;
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.13 2012/03/22 13:37:34 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
@@ -0,0 +1,36 @@
$NetBSD: patch-ab,v 1.5 2011/12/08 22:44:24 hiramatsu 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
@@ -932,7 +932,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
my $libs = '$(LDLOADLIBS)';
- if (($Is{NetBSD} || $Is{Interix}) && $Config{'useshrplib'} eq 'true') {
+ if ($Is{BSD} && $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) \
$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
$(INST_BIN) $(DESTINSTALLBIN) \
- $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
+ $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
@@ -2082,7 +2082,7 @@ pure_site_install :: all
pure_vendor_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) \
@@ -0,0 +1,38 @@
$NetBSD: patch-ad,v 1.4 2011/08/10 12:01:13 adam 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;
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 @@
('../dummy-install/lib/perl5/Big/Dummy.pm',
'../dummy-install/lib/perl5/Big/Liar.pm',
'../dummy-install/bin/program',
- "../dummy-install/lib/perl5/$Config{archname}/perllocal.pod",
+# "../dummy-install/lib/perl5/$Config{archname}/perllocal.pod",
"../dummy-install/lib/perl5/$Config{archname}/auto/Big/Dummy/.packlist"
);