diff options
Diffstat (limited to 'debian/patches/debian/makemaker-pasthru.diff')
-rw-r--r-- | debian/patches/debian/makemaker-pasthru.diff | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/debian/makemaker-pasthru.diff b/debian/patches/debian/makemaker-pasthru.diff new file mode 100644 index 0000000..c240441 --- /dev/null +++ b/debian/patches/debian/makemaker-pasthru.diff @@ -0,0 +1,28 @@ +From: Niko Tyni <ntyni@debian.org> +Date: Sun, 24 Aug 2014 12:56:11 -0700 +Subject: Pass LD settings through to subdirectories + +[rt.cpan.org #28632] fixed most issues with passing LD down to +subdirectory Makefile.PL files. However, there are some distributions +(including Wx, Par::Packer, and Verilog-Perl) that explicitly set +LD. Those still can't be overridden from the command line. Adding LD to +the PASTHRU list fixes this. + +Bug-Debian: https://bugs.debian.org/758471 +--- + cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +index 4977baa..bb41b27 100644 +--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ++++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +@@ -2955,7 +2955,7 @@ sub pasthru { + my($sep) = $Is{VMS} ? ',' : ''; + $sep .= "\\\n\t"; + +- foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE ++ foreach my $key (qw(LIB LIBPERL_A LINKTYPE OPTIMIZE LD + PREFIX INSTALL_BASE) + ) + { |