In perl.git, the branch nicholas/bisect has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1c1d1477c40ba18f5b7be249cc0a880b95b84653?hp=a7cf1a78057f266b94755cd4f8d1d45c710ed3d4>
- Log ----------------------------------------------------------------- commit 1c1d1477c40ba18f5b7be249cc0a880b95b84653 Author: Nicholas Clark <[email protected]> Date: Thu Apr 12 21:50:11 2012 +0200 bisect-runner.pl should fix Makefile.SH to remove remove GNU make-isms. Commit c7b956bbbaff0c46 inadvertently added a GNU (and BSD) make specific construction to the *nix Makefile, which other platforms' makes choke on. It was corrected with commit cfe76a0a8e5b6f21 (and 0961731461727bea), but those changes are not the simplest way to get things passing again, so use a simpler custom patch here. ----------------------------------------------------------------------- Summary of changes: Porting/bisect-runner.pl | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index 5619089..65fe6d2 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -2036,6 +2036,29 @@ index f61d0db..6097954 100644 EOPATCH } + if ($major == 15 && $^O !~ /^(linux|darwin|.*bsd)$/ + && extract_from_file('Makefile.SH', qr/^V.* \?= /)) { + # Remove the GNU-make-ism (which the BSD makes also support, but + # most other makes choke on) + apply_patch(<<'EOPATCH'); +diff --git a/Makefile.SH b/Makefile.SH +index 94952bd..13e9001 100755 +--- a/Makefile.SH ++++ b/Makefile.SH +@@ -338,8 +338,8 @@ linux*|darwin) + $spitshell >>$Makefile <<!GROK!THIS! + # If you're going to use valgrind and it can't be invoked as plain valgrind + # then you'll need to change this, or override it on the make command line. +-VALGRIND ?= valgrind +-VG_TEST ?= ./perl -e 1 2>/dev/null ++VALGRIND = valgrind ++VG_TEST = ./perl -e 1 2>/dev/null + + !GROK!THIS! + ;; +EOPATCH + } + if ($major == 11) { if (extract_from_file('patchlevel.h', qr/^#include "unpushed\.h"/)) { -- Perl5 Master Repository
