summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch82
1 files changed, 82 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch
new file mode 100644
index 0000000..389c334
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/native-nopacklist.patch
@@ -0,0 +1,82 @@
1Upstream-Status:Inappropriate [debian patch]
2
3Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
4
5Index: perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
6===================================================================
7--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
8+++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
9@@ -2047,8 +2047,6 @@ doc__install : doc_site_install
10
11 pure_perl_install :: all
12 $(NOECHO) $(MOD_INSTALL) \
13- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
14- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
15 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
16 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
17 $(INST_BIN) $(DESTINSTALLBIN) \
18@@ -2074,8 +2072,6 @@ pure_site_install :: all
19
20 pure_vendor_install :: all
21 $(NOECHO) $(MOD_INSTALL) \
22- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
23- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
24 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
25 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
26 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
27@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
28 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
29
30 doc_perl_install :: all
31- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
32- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
33- -$(NOECHO) $(DOC_INSTALL) \
34- "Module" "$(NAME)" \
35- "installed into" "$(INSTALLPRIVLIB)" \
36- LINKTYPE "$(LINKTYPE)" \
37- VERSION "$(VERSION)" \
38- EXE_FILES "$(EXE_FILES)" \
39- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
40
41 doc_site_install :: all
42- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
43- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
44+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
45+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH)
46 -$(NOECHO) $(DOC_INSTALL) \
47 "Module" "$(NAME)" \
48 "installed into" "$(INSTALLSITELIB)" \
49 LINKTYPE "$(LINKTYPE)" \
50 VERSION "$(VERSION)" \
51 EXE_FILES "$(EXE_FILES)" \
52- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
53+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
54
55 doc_vendor_install :: all
56- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
57- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
58- -$(NOECHO) $(DOC_INSTALL) \
59- "Module" "$(NAME)" \
60- "installed into" "$(INSTALLVENDORLIB)" \
61- LINKTYPE "$(LINKTYPE)" \
62- VERSION "$(VERSION)" \
63- EXE_FILES "$(EXE_FILES)" \
64- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
65
66 };
67
68@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIR
69 $(NOECHO) $(NOOP)
70
71 uninstall_from_perldirs ::
72- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
73
74 uninstall_from_sitedirs ::
75 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
76
77 uninstall_from_vendordirs ::
78- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
79+
80 };
81
82 join("",@m);