aboutsummaryrefslogtreecommitdiff
path: root/lang/perl/patches/110-always_use_miniperl.patch
blob: 806a31256b2007ee5f2c36d75261fac0d176cc21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -360,22 +360,11 @@ PERL_EXE_LDFLAGS=$exeldflags
 	;;
 esac
 
-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 -I.
+RUN_PERL = \$(LDLIBPTH) \$(RUN) ./miniperl\$(EXE_EXT) -Ilib -I.
 !GROK!THIS!
-	;;
-esac
 
 $spitshell >>$Makefile <<!GROK!THIS!
 # Macros to run our tests