From: Nicholas Clark Date: Mon, 10 Nov 2008 11:58:41 +0000 (+0000) Subject: Backslashes inside '' inside Makefiles seem to be non-portable in their X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b306dcb39875d351d64f81a4a6469b778b8f7c42;p=p5sagit%2Fp5-mst-13.2.git Backslashes inside '' inside Makefiles seem to be non-portable in their effects. GNU make leaves them in as literals, BSD make takes them out. Not that we noticed, as the construction in question was valid Perl syntax either way, but File::Find 1.14 is enforcing more on its arguments. p4raw-id: //depot/perl@34789 --- diff --git a/Makefile.SH b/Makefile.SH index 7650185..5a2a63f 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -925,10 +925,7 @@ $spitshell >>$Makefile <<'!NO!SUBS!' preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL) @sh ./makedir lib/auto @echo " AutoSplitting perl library" - $(LDLIBPTH) $(RUN) ./miniperl -Ilib -MAutoSplit -MFile::Find -e ' \ - find ({no_chdir=>1, wanted => \ - sub {autosplit_lib_modules($$_) if /\.pm$$/}}, \ - "lib")' + $(LDLIBPTH) $(RUN) ./miniperl -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted => sub {autosplit_lib_modules($$_) if /\.pm$$/}}, "lib")' $(MAKE) lib/re.pm $(CONFIGPOD): config.sh miniperl$(EXE_EXT) configpm Porting/Glossary