Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 593dd52f535b1f439dfd0afe52211ae8960e980a Mon Sep 17 00:00:00 2001 |
| 2 | From: Niko Tyni <ntyni@debian.org> |
| 3 | Date: Sun, 24 Aug 2014 12:56:11 -0700 |
| 4 | Subject: Pass LD settings through to subdirectories |
| 5 | |
| 6 | [rt.cpan.org #28632] fixed most issues with passing LD down to |
| 7 | subdirectory Makefile.PL files. However, there are some distributions |
| 8 | (including Wx, Par::Packer, and Verilog-Perl) that explicitly set |
| 9 | LD. Those still can't be overridden from the command line. Adding LD to |
| 10 | the PASTHRU list fixes this. |
| 11 | |
| 12 | Bug-Debian: https://bugs.debian.org/758471 |
| 13 | Patch-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 | |
| 18 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm |
| 19 | index 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 | { |