mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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:
27
lang/perl/patches/300-always_use_miniperl.patch
Normal file
27
lang/perl/patches/300-always_use_miniperl.patch
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user