diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2011-09-28 15:12:07 -0600 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2011-09-29 15:35:34 +1000 |
commit | cfe76a0a8e5b6f21601522c788686e820ba933dd (patch) | |
tree | 2440e91b62abad2d510815d8dc6d62bff644bc19 /Makefile.SH | |
parent | 7b8e5ef0662e52d98602ab69b7b9af6778e78e42 (diff) | |
download | perl-cfe76a0a8e5b6f21601522c788686e820ba933dd.tar.gz |
Makefile.SH: fix ?= gmake-isms
commit c7b956bbbaff changed Makefile.SH to emit gmake-only syntax, fix
that by doing so only on linux, by inserting a spitshell dependent on
osname. This isnt the most direct fix, but it starts to isolate
linux-only/mostly stuff, like test.valgrind.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-x | Makefile.SH | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH index d135ec091b..c20f660b01 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -331,11 +331,21 @@ $make_set_make # Mention $gmake here so it gets probed for by Configure. +!GROK!THIS! + +case "${osname}" in +linux*) +$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 +!GROK!THIS! + ;; +esac + +$spitshell >>$Makefile <<!GROK!THIS! DTRACE = $dtrace DTRACE_H = $dtrace_h DTRACE_O = $dtrace_o |