summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl/perl-5.8.8
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/perl/perl-5.8.8')
-rw-r--r--meta/packages/perl/perl-5.8.8/Makefile.SH.patch4
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh87
-rw-r--r--meta/packages/perl/perl-5.8.8/native-perlinc.patch14
-rw-r--r--meta/packages/perl/perl-5.8.8/native-ssp.patch2
4 files changed, 57 insertions, 50 deletions
diff --git a/meta/packages/perl/perl-5.8.8/Makefile.SH.patch b/meta/packages/perl/perl-5.8.8/Makefile.SH.patch
index a30074be2b..ab9c4b7d63 100644
--- a/meta/packages/perl/perl-5.8.8/Makefile.SH.patch
+++ b/meta/packages/perl/perl-5.8.8/Makefile.SH.patch
@@ -62,7 +62,7 @@ Index: perl-5.8.8/Makefile.SH
62+# @echo " "; 62+# @echo " ";
63+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." 63+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
64+ 64+
65+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) 65+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) $(unidatafiles)
66+ 66+
67+more: extra.pods $(private) $(public) 67+more: extra.pods $(private) $(public)
68+ 68+
@@ -208,7 +208,7 @@ Index: perl-5.8.8/Makefile.SH
208- 208-
209-install.man: all installman 209-install.man: all installman
210- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS) 210- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
211+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS) 211+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
212 212
213 # XXX Experimental. Hardwired values, but useful for testing. 213 # XXX Experimental. Hardwired values, but useful for testing.
214 # Eventually Configure could ask for some of these values. 214 # Eventually Configure could ask for some of these values.
diff --git a/meta/packages/perl/perl-5.8.8/config.sh b/meta/packages/perl/perl-5.8.8/config.sh
index ac8d237cac..8d1f904f20 100644
--- a/meta/packages/perl/perl-5.8.8/config.sh
+++ b/meta/packages/perl/perl-5.8.8/config.sh
@@ -668,34 +668,34 @@ inc_version_list=' '
668inc_version_list_init='0' 668inc_version_list_init='0'
669incpath='' 669incpath=''
670inews='' 670inews=''
671installarchlib='@DESTDIR@/usr/lib/perl/5.8' 671installarchlib='@LIBDIR@/perl/5.8'
672installbin='@DESTDIR@/usr/bin' 672installbin='@BINDIR@'
673installhtml1dir='' 673installhtml1dir=''
674installhtml3dir='' 674installhtml3dir=''
675installman1dir='@DESTDIR@/usr/share/man/man1' 675installman1dir='@MANDIR@/man1'
676installman3dir='@DESTDIR@/usr/share/man/man3' 676installman3dir='@MANDIR@/man3'
677installprefix='@DESTDIR@/usr' 677installprefix='@PREFIX@'
678installprefixexp='@DESTDIR@/usr' 678installprefixexp='@PREFIX@/usr'
679installprivlib='@DESTDIR@/usr/share/perl/5.8' 679installprivlib='@DATADIR@/perl/5.8'
680installscript='@DESTDIR@/usr/bin' 680installscript='@BINDIR@'
681installsitearch='@DESTDIR@/usr/local/lib/perl/5.8.8' 681installsitearch='@PREFIX@/local/lib/perl/5.8.8'
682installsitebin='@DESTDIR@/usr/local/bin' 682installsitebin='@PREFIX@/local/bin'
683installsitehtml1dir='' 683installsitehtml1dir=''
684installsitehtml3dir='' 684installsitehtml3dir=''
685installsitelib='@DESTDIR@/usr/local/share/perl/5.8.8' 685installsitelib='@PREFIX@/local/share/perl/5.8.8'
686installsiteman1dir='@DESTDIR@/usr/local/man/man1' 686installsiteman1dir='@PREFIX@/local/man/man1'
687installsiteman3dir='@DESTDIR@/usr/local/man/man3' 687installsiteman3dir='@PREFIX@/local/man/man3'
688installsitescript='@DESTDIR@/usr/local/bin' 688installsitescript='@PREFIX@/local/bin'
689installstyle='lib/perl5' 689installstyle='lib/perl5'
690installusrbinperl='define' 690installusrbinperl='define'
691installvendorarch='@DESTDIR@/usr/lib/perl5' 691installvendorarch='@LIBDIR@/perl5'
692installvendorbin='@DESTDIR@/usr/bin' 692installvendorbin='@BINDIR@'
693installvendorhtml1dir='' 693installvendorhtml1dir=''
694installvendorhtml3dir='' 694installvendorhtml3dir=''
695installvendorlib='@DESTDIR@/usr/share/perl5' 695installvendorlib='@DATADIR@/perl5'
696installvendorman1dir='@DESTDIR@/usr/share/man/man1' 696installvendorman1dir='@MANDIR@/man1'
697installvendorman3dir='@DESTDIR@/usr/share/man/man3' 697installvendorman3dir='@MANDIR@/man3'
698installvendorscript='@DESTDIR@/usr/bin' 698installvendorscript='@BINDIR@'
699intsize='4' 699intsize='4'
700issymlink='test -h' 700issymlink='test -h'
701ivdformat='"ld"' 701ivdformat='"ld"'
@@ -981,36 +981,35 @@ zcat=''
981zip='zip' 981zip='zip'
982# Configure command line arguments. 982# Configure command line arguments.
983config_arg0='Configure' 983config_arg0='Configure'
984config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.8 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' 984config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.8 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
985config_argc=28 985config_argc=27
986config_arg1='-des' 986config_arg1='-des'
987config_arg2='-Doptimize=-O2' 987config_arg2='-Doptimize=-O2'
988config_arg3='-Dmyhostname=localhost' 988config_arg3='-Dmyhostname=localhost'
989config_arg4='-Dperladmin=root@localhost' 989config_arg4='-Dperladmin=root@localhost'
990config_arg5='-Dcc=gcc' 990config_arg5='-Dcc=gcc'
991config_arg6='-Dcf_by=Open Embedded' 991config_arg6='-Dcf_by=Open Embedded'
992config_arg7='-Dinstallprefix=@DESTDIR@' 992config_arg7='-Dprefix=/usr'
993config_arg8='-Dprefix=/usr' 993config_arg8='-Dvendorprefix=/usr'
994config_arg9='-Dvendorprefix=/usr' 994config_arg9='-Dsiteprefix=/usr'
995config_arg10='-Dsiteprefix=/usr' 995config_arg10='-Dotherlibdirs=/usr/lib/perl5/5.8.8'
996config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.8.8' 996config_arg11='-Duseshrplib'
997config_arg12='-Duseshrplib' 997config_arg12='-Dusethreads'
998config_arg13='-Dusethreads' 998config_arg13='-Duseithreads'
999config_arg14='-Duseithreads' 999config_arg14='-Duselargefiles'
1000config_arg15='-Duselargefiles' 1000config_arg15='-Ud_dosuid'
1001config_arg16='-Ud_dosuid' 1001config_arg16='-Dd_semctl_semun'
1002config_arg17='-Dd_semctl_semun' 1002config_arg17='-Ui_db'
1003config_arg18='-Ui_db' 1003config_arg18='-Ui_ndbm'
1004config_arg19='-Ui_ndbm' 1004config_arg19='-Ui_gdbm'
1005config_arg20='-Ui_gdbm' 1005config_arg20='-Di_shadow'
1006config_arg21='-Di_shadow' 1006config_arg21='-Di_syslog'
1007config_arg22='-Di_syslog' 1007config_arg22='-Dman3ext=3pm'
1008config_arg23='-Dman3ext=3pm' 1008config_arg23='-Duseperlio'
1009config_arg24='-Duseperlio' 1009config_arg24='-Dinstallusrbinperl'
1010config_arg25='-Dinstallusrbinperl' 1010config_arg25='-Ubincompat5005'
1011config_arg26='-Ubincompat5005' 1011config_arg26='-Uversiononly'
1012config_arg27='-Uversiononly' 1012config_arg27='-Dpager=/usr/bin/less -isr'
1013config_arg28='-Dpager=/usr/bin/less -isr'
1014PERL_REVISION=5 1013PERL_REVISION=5
1015PERL_VERSION=8 1014PERL_VERSION=8
1016PERL_SUBVERSION=8 1015PERL_SUBVERSION=8
diff --git a/meta/packages/perl/perl-5.8.8/native-perlinc.patch b/meta/packages/perl/perl-5.8.8/native-perlinc.patch
index aea38a0b56..6dc4b9538d 100644
--- a/meta/packages/perl/perl-5.8.8/native-perlinc.patch
+++ b/meta/packages/perl/perl-5.8.8/native-perlinc.patch
@@ -1,12 +1,20 @@
1Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm 1Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm
2=================================================================== 2===================================================================
3--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2007-05-30 15:16:47.000000000 +1000 3--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
4+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2007-05-30 15:18:12.000000000 +1000 4+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2008-11-08 16:01:12.000000000 +0000
5@@ -1597,6 +1597,11 @@ 5@@ -1597,6 +1597,19 @@
6 $self->{PERL_LIB} ||= $Config{privlibexp}; 6 $self->{PERL_LIB} ||= $Config{privlibexp};
7 $self->{PERL_ARCHLIB} ||= $Config{archlibexp}; 7 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
8 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now 8 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now
9+ # Check for environment override so we'll find the headers in the correct place 9+ # Check for environment override so we'll find the headers in the correct place
10+ if (defined $ENV{PERL_LIB})
11+ {
12+ $self->{PERL_LIB} = $ENV{PERL_LIB};
13+ }
14+ if (defined $ENV{PERL_ARCHLIB})
15+ {
16+ $self->{PERL_ARCHLIB} = $ENV{PERL_ARCHLIB};
17+ }
10+ if (defined $ENV{PERL_INC}) 18+ if (defined $ENV{PERL_INC})
11+ { 19+ {
12+ $self->{PERL_INC} = $ENV{PERL_INC}; 20+ $self->{PERL_INC} = $ENV{PERL_INC};
diff --git a/meta/packages/perl/perl-5.8.8/native-ssp.patch b/meta/packages/perl/perl-5.8.8/native-ssp.patch
index f815aad452..1c825f50d0 100644
--- a/meta/packages/perl/perl-5.8.8/native-ssp.patch
+++ b/meta/packages/perl/perl-5.8.8/native-ssp.patch
@@ -1,5 +1,5 @@
1Fix for compiling with ssp enabled gcc: 1Fix for compiling with ssp enabled gcc:
2See http://bugs.openembedded.org/show_bug.cgi?id=1980 2See http://bugs.openembedded.net/show_bug.cgi?id=1980
3 3
4diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH 4diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH
5--- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000 5--- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000