lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

110-always_use_miniperl.patch (750B)


      1 --- a/Makefile.SH
      2 +++ b/Makefile.SH
      3 @@ -316,22 +316,11 @@ MANIFEST_SRT = MANIFEST.srt
      4  
      5  !GROK!THIS!
      6  
      7 -case "$usecrosscompile$perl" in
      8 -define?*)
      9 -	$spitshell >>$Makefile <<!GROK!THIS!
     10 -# Macros to invoke a copy of our fully operational perl during the build.
     11 -PERL_EXE = perl\$(EXE_EXT)
     12 -RUN_PERL = \$(LDLIBPTH) \$(RUN) $perl\$(EXE_EXT)
     13 -!GROK!THIS!
     14 -	;;
     15 -*)
     16 -	$spitshell >>$Makefile <<!GROK!THIS!
     17 +$spitshell >>$Makefile <<!GROK!THIS!
     18  # Macros to invoke a copy of our fully operational perl during the build.
     19  PERL_EXE = perl\$(EXE_EXT)
     20 -RUN_PERL = \$(LDLIBPTH) \$(RUN) ./perl\$(EXE_EXT) -Ilib
     21 +RUN_PERL = \$(LDLIBPTH) \$(RUN) ./miniperl\$(EXE_EXT) -Ilib
     22  !GROK!THIS!
     23 -	;;
     24 -esac
     25  
     26  $spitshell >>$Makefile <<!GROK!THIS!
     27  # Macros to run our tests