lang/perl: Add hack to make perl always use miniperl during build
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
parent
e7263f63ca
commit
4c57844f0f
|
@ -0,0 +1,27 @@
|
|||
--- a/Makefile.SH
|
||||
+++ b/Makefile.SH
|
||||
@@ -315,22 +315,11 @@ MINIPERL = \$(LDLIBPTH) ./miniperl\$(EXE
|
||||
|
||||
!GROK!THIS!
|
||||
|
||||
-case "$usecrosscompile$perl" in
|
||||
-define?*)
|
||||
- $spitshell >>$Makefile <<!GROK!THIS!
|
||||
-# Macros to invoke a copy of our fully operational perl during the build.
|
||||
-PERL_EXE = perl\$(EXE_EXT)
|
||||
-RUN_PERL = \$(LDLIBPTH) \$(RUN) $perl\$(EXE_EXT)
|
||||
-!GROK!THIS!
|
||||
- ;;
|
||||
-*)
|
||||
- $spitshell >>$Makefile <<!GROK!THIS!
|
||||
+$spitshell >>$Makefile <<!GROK!THIS!
|
||||
# Macros to invoke a copy of our fully operational perl during the build.
|
||||
PERL_EXE = perl\$(EXE_EXT)
|
||||
-RUN_PERL = \$(LDLIBPTH) \$(RUN) ./perl\$(EXE_EXT) -Ilib
|
||||
+RUN_PERL = \$(LDLIBPTH) \$(RUN) ./miniperl\$(EXE_EXT) -Ilib
|
||||
!GROK!THIS!
|
||||
- ;;
|
||||
-esac
|
||||
|
||||
$spitshell >>$Makefile <<!GROK!THIS!
|
||||
# Macros to run our tests
|
Loading…
Reference in New Issue