summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff b/meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff
new file mode 100644
index 0000000000..fa0f9daf96
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/debian/makemaker-pasthru.diff
@@ -0,0 +1,30 @@
1From 593dd52f535b1f439dfd0afe52211ae8960e980a Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Sun, 24 Aug 2014 12:56:11 -0700
4Subject: Pass LD settings through to subdirectories
5
6[rt.cpan.org #28632] fixed most issues with passing LD down to
7subdirectory Makefile.PL files. However, there are some distributions
8(including Wx, Par::Packer, and Verilog-Perl) that explicitly set
9LD. Those still can't be overridden from the command line. Adding LD to
10the PASTHRU list fixes this.
11
12Bug-Debian: https://bugs.debian.org/758471
13Patch-Name: debian/makemaker-pasthru.diff
14---
15 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
19index 4a8e14c..548d98e 100644
20--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
21+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
22@@ -2793,7 +2793,7 @@ sub pasthru {
23 my($sep) = $Is{VMS} ? ',' : '';
24 $sep .= "\\\n\t";
25
26- foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE
27+ foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE LD
28 PREFIX INSTALL_BASE)
29 )
30 {