From: <abe...@us...> - 2015-11-04 19:15:19
|
Revision: 7316 http://sourceforge.net/p/astlinux/code/7316 Author: abelbeck Date: 2015-11-04 19:15:17 +0000 (Wed, 04 Nov 2015) Log Message: ----------- perl, version bump to 5.22.0 using perl-cross 1.0.1, now 2 MB (uncompressed) smaller with more target pruning Modified Paths: -------------- branches/1.0/package/perl/perl.mk Removed Paths: ------------- branches/1.0/package/perl/perl-dynaloader-hints.patch branches/1.0/package/perl/perl-fix-Module-Build.patch branches/1.0/package/perl/perl-ifprefixed.patch Deleted: branches/1.0/package/perl/perl-dynaloader-hints.patch =================================================================== --- branches/1.0/package/perl/perl-dynaloader-hints.patch 2015-11-04 15:53:18 UTC (rev 7315) +++ branches/1.0/package/perl/perl-dynaloader-hints.patch 2015-11-04 19:15:17 UTC (rev 7316) @@ -1,13 +0,0 @@ -Buildroot puts nlist.h into sysroot/usr/include, -which is in the default include path. - -Signed-off-by: Alex Suykov <ale...@gm...> - ---- a/ext/DynaLoader/hints/linux.pl -+++ b/ext/DynaLoader/hints/linux.pl -@@ -1,5 +1 @@ --# XXX Configure test needed. --# Some Linux releases like to hide their <nlist.h> --$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf' -- if -f "/usr/include/libelf/nlist.h"; - 1; Deleted: branches/1.0/package/perl/perl-fix-Module-Build.patch =================================================================== --- branches/1.0/package/perl/perl-fix-Module-Build.patch 2015-11-04 15:53:18 UTC (rev 7315) +++ branches/1.0/package/perl/perl-fix-Module-Build.patch 2015-11-04 19:15:17 UTC (rev 7316) @@ -1,16 +0,0 @@ - -Signed-off-by: Francois Perrad <fra...@ga...> - -Index: b/cpan/Module-Build/lib/Module/Build/Base.pm -=================================================================== ---- a/cpan/Module-Build/lib/Module/Build/Base.pm -+++ b/cpan/Module-Build/lib/Module/Build/Base.pm -@@ -459,7 +459,7 @@ - my $proto = shift; - my $c = ref($proto) ? $proto->{config} : 'Module::Build::Config'; - -- my $perl = $^X; -+ my $perl = $ENV{RUN_PERL} || $^X; - my $perl_basename = File::Basename::basename($perl); - - my @potential_perls; Deleted: branches/1.0/package/perl/perl-ifprefixed.patch =================================================================== --- branches/1.0/package/perl/perl-ifprefixed.patch 2015-11-04 15:53:18 UTC (rev 7315) +++ branches/1.0/package/perl/perl-ifprefixed.patch 2015-11-04 19:15:17 UTC (rev 7316) @@ -1,11 +0,0 @@ ---- perl-5.16.2/Makefile.config.SH.orig 2012-12-21 23:52:27.000000000 -0600 -+++ perl-5.16.2/Makefile.config.SH 2012-12-21 23:53:11.000000000 -0600 -@@ -40,7 +40,7 @@ - fi - - function ifprefixed() { -- val=`echo "$2" | sed -e "s/^$1//"` -+ val=`echo "$2" | sed -e "s|^$1||"` - if [ "$1$val" == "$2" ]; then - echo "\$(CROSS)$val" - else Modified: branches/1.0/package/perl/perl.mk =================================================================== --- branches/1.0/package/perl/perl.mk 2015-11-04 15:53:18 UTC (rev 7315) +++ branches/1.0/package/perl/perl.mk 2015-11-04 19:15:17 UTC (rev 7316) @@ -4,22 +4,23 @@ # ############################################################# -PERL_VERSION_MAJOR = 20 -PERL_VERSION = 5.$(PERL_VERSION_MAJOR).2 +PERL_VERSION_MAJOR = 22 +PERL_VERSION = 5.$(PERL_VERSION_MAJOR).0 PERL_SITE = http://www.cpan.org/src/5.0 PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2 PERL_INSTALL_STAGING = YES # Depend on linux to define LINUX_VERSION_PROBED PERL_DEPENDENCIES = linux +PERL_ARCHNAME = $(ARCH)-linux + PERL_MODULES = constant version Carp Errno Fcntl PathTools POSIX Digest Socket IO XSLoader Exporter File-Find PERL_MODULES += Digest/MD5 Digest/SHA Getopt/Long Time/Local File/Glob Sys/Hostname -PERL_CROSS_VERSION = 0.9.7 -PERL_CROSS_BASE_VERSION = 5.$(PERL_VERSION_MAJOR).2 -#PERL_CROSS_SITE = http://raw.github.com/arsv/perl-cross/releases +PERL_CROSS_VERSION = 1.0.1 +#PERL_CROSS_SITE = --no-check-certificate https://raw.github.com/arsv/perl-cross/releases PERL_CROSS_SITE = http://files.astlinux.org -PERL_CROSS_SOURCE = perl-$(PERL_CROSS_BASE_VERSION)-cross-$(PERL_CROSS_VERSION).tar.gz +PERL_CROSS_SOURCE = perl-$(PERL_VERSION)-cross-$(PERL_CROSS_VERSION).tar.gz # We use the perlcross hack to cross-compile perl. It should # be extracted over the perl sources, so we don't define that @@ -86,7 +87,11 @@ endef define PERL_INSTALL_TARGET_CMDS + # Undefine utils.lst file so cpan, corelist, ... perlthanks are not installed, keep shasum + echo "utils/shasum" > $(@D)/utils.lst $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl + # Remove CORE dir + rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE # Remove all .pod files find $(TARGET_DIR)/usr/lib/perl5/ -name '*.pod' -print0 | xargs -0 rm -f # Remove many unicore files This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |