Commit abaab88e authored by Francois Perrad's avatar Francois Perrad Committed by Peter Korsgaard
Browse files

microperl: remove it



microperl has been deprecated by perl

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent bd5ae087
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -316,7 +316,6 @@ menu "Perl libraries/modules"
source "package/cpanminus/Config.in"
endmenu
endif
source "package/microperl/Config.in"
source "package/php/Config.in"
source "package/python/Config.in"
source "package/python3/Config.in"
+0 −6
Original line number Diff line number Diff line
@@ -10,12 +10,6 @@ LIBXML_PARSER_PERL_SITE = http://www.cpan.org/modules/by-module/XML/

LIBXML_PARSER_PERL_DEPENDENCIES = expat

ifeq ($(BR2_PACKAGE_MICROPERL),y)
# microperl builds host-microperl, so ensure we build after that to build
# against host-microperl instead of the system perl
LIBXML_PARSER_PERL_DEPENDENCIES += microperl
endif

define HOST_LIBXML_PARSER_PERL_CONFIGURE_CMDS
 (cd $(@D) ; \
   $(HOST_CONFIGURE_OPTS) perl Makefile.PL \

package/microperl/Config.in

deleted100644 → 0
+0 −30
Original line number Diff line number Diff line
config BR2_PACKAGE_MICROPERL
	bool "microperl"
	# needs fork()
	depends on BR2_USE_MMU
	depends on BR2_DEPRECATED
	help
	  Perl without operating-specific functions such as readdir.

if BR2_PACKAGE_MICROPERL

config BR2_PACKAGE_MICROPERL_MODULES
	string "additional modules"
	help
	  List of space-separated microperl modules to copy to the rootfs.

	  Examples: warnings.pm Getopt/Std.pm Time::Local

	  Module dependencies are not automatic so check your needs.
	  You can't use XS modules like IO.

menu "module bundles"

config BR2_PACKAGE_MICROPERL_BUNDLE_CGI
	bool "CGI"
	help
	  Copy required modules to do CGI scripting.

endmenu

endif
+0 −22
Original line number Diff line number Diff line
Backport of http://perl5.git.perl.org/perl.git/commitdiff/01d65469392dfc0a?hp=a82b5f080d91ffe184d8ac4795ac71e72e612c2f

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura perl-5.12.3/miniperlmain.c perl-5.12.3-nosig/miniperlmain.c
--- perl-5.12.3/miniperlmain.c	2011-01-09 17:20:57.000000000 -0300
+++ perl-5.12.3-nosig/miniperlmain.c	2011-04-14 10:16:53.564639438 -0300
@@ -116,12 +116,14 @@
     if (!exitstatus)
         perl_run(my_perl);
 
+#ifndef PERL_MICRO
     /* Unregister our signal handler before destroying my_perl */
     for (i = 0; PL_sig_name[i]; i++) {
 	if (rsignal_state(PL_sig_num[i]) == (Sighandler_t) PL_csighandlerp) {
 	    rsignal(PL_sig_num[i], (Sighandler_t) SIG_DFL);
 	}
     }
+#endif
 
     exitstatus = perl_destruct(my_perl);
 
+0 −47
Original line number Diff line number Diff line
From a82b5f080d91ffe184d8ac4795ac71e72e612c2f Mon Sep 17 00:00:00 2001
From: David Leadbeater <dgl@dgl.cx>
Date: Mon, 7 Mar 2011 18:40:55 +0000
Subject: [PATCH] microperl: Update generate_uudmap in Makefile.micro

Makefile.micro hadn't kept up with the changes for generate_uudmap,
make it match the real Makefile.
---
 Makefile.micro |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.micro b/Makefile.micro
index 4b738f5..567d98a 100644
--- a/Makefile.micro
+++ b/Makefile.micro
@@ -35,7 +35,7 @@ H = av.h uconfig.h cop.h cv.h embed.h embedvar.h form.h gv.h handy.h \
 HE = $(H) EXTERN.h
 
 clean:
-	-rm -f $(O) microperl generate_uudmap$(_X) uudmap.h
+	-rm -f $(O) microperl generate_uudmap$(_X) uudmap.h bitcount.h
 
 distclean:	clean
 
@@ -74,7 +74,7 @@ udoop$(_O):	$(HE) doop.c
 udump$(_O):	$(HE) dump.c regcomp.h regnodes.h
 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) dump.c
 
-uglobals$(_O):	$(H) globals.c INTERN.h perlapi.h
+uglobals$(_O):	$(H) globals.c INTERN.h perlapi.h uudmap.h bitcount.h
 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) globals.c
 
 ugv$(_O):	$(HE) gv.c
@@ -173,8 +173,8 @@ uutil$(_O):	$(HE) util.c
 uperlapi$(_O):	$(HE) perlapi.c perlapi.h
 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) perlapi.c
 
-uudmap.h: generate_uudmap$(_X)
-	$(RUN) ./generate_uudmap$(_X) >uudmap.h
+uudmap.h bitcount.h: generate_uudmap$(_X)
+	$(RUN) ./generate_uudmap$(_X) uudmap.h bitcount.h
 
 generate_uudmap$(_O): generate_uudmap.c
 	$(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
-- 
1.6.5.2.74.g610f9.dirty
Loading