[dh-r] 38/43: Remove MAKEFLAGS handling for now, since it doesn't appear to allow flag injection in the way I was expecting

Gordon Ball chronitis-guest at moszumanska.debian.org
Thu Sep 15 13:45:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository dh-r.

commit f2d06f0284ad14791980982d07be99f1741aa9f1
Author: Gordon Ball <gordon at chronitis.net>
Date:   Thu Sep 15 11:18:02 2016 +0200

    Remove MAKEFLAGS handling for now, since it doesn't appear to allow flag injection in the way I was expecting
---
 dh/R.pm | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dh/R.pm b/dh/R.pm
index 841fc50..f70905d 100644
--- a/dh/R.pm
+++ b/dh/R.pm
@@ -116,15 +116,6 @@ sub install {
     $this->doit_in_sourcedir("mkdir", "-p", "$destdir/$libdir");
 
     my @instargs;
-    if (defined $ENV{RMakeFlags}) {
-        say "I: Using MAKEFLAGS=" . $ENV{RMakeFlags};
-        push (@instargs, "MAKEFLAGS=" . $ENV{RMakeFlags});
-    } else {
-        chomp(my $ldflags = qx/dpkg-buildflags --get LDFLAGS/);
-        $ldflags =~ s/ /\\ /g;
-        $ENV{MAKEFLAGS} = "'LDFLAGS=$ldflags'";
-        say "I: Using MAKEFLAGS=$ENV{MAKEFLAGS}";
-    }
 
     push (@instargs, "R", "CMD", "INSTALL", "-l", "$destdir/$libdir", "--clean");
     if (defined $ENV{RExtraInstallFlags}) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dh-r.git



More information about the debian-science-commits mailing list