diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-04-23 19:43:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:22 +0100 |
commit | 829b985eb5c329772db49da9838530a639cb2638 (patch) | |
tree | 3c18883d115058c2c96c60919b5c052d21b109e6 /meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch | |
parent | 3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (diff) | |
download | poky-829b985eb5c329772db49da9838530a639cb2638.tar.gz |
perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location.
(From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch deleted file mode 100644 index 2c374ed857..0000000000 --- a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.12.2/Cross/Makefile | ||
4 | =================================================================== | ||
5 | --- perl-5.12.2.orig/Cross/Makefile | ||
6 | +++ perl-5.12.2/Cross/Makefile | ||
7 | @@ -2,7 +2,8 @@ | ||
8 | # | ||
9 | ## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $ | ||
10 | |||
11 | -export TOPDIR=${shell pwd} | ||
12 | +override TOPDIR=${shell pwd} | ||
13 | +export TOPDIR | ||
14 | include $(TOPDIR)/config | ||
15 | export CFLAGS | ||
16 | export SYS=$(ARCH)-$(OS) | ||
17 | @@ -12,7 +13,7 @@ export OPTIMIZATION = -O2 | ||
18 | |||
19 | export CC = $(CROSS)gcc | ||
20 | export CXX = $(CROSS)g++ | ||
21 | -export LD = $(CROSS)ld | ||
22 | +export LD = $(CC) | ||
23 | export STRIP = $(CROSS)strip | ||
24 | export AR = $(CROSS)ar | ||
25 | export RANLIB = $(CROSS)ranlib | ||
26 | @@ -34,17 +35,6 @@ CFLAGS+=$(FULL_OPTIMIZATION) | ||
27 | all: | ||
28 | @echo Please read the README file before doing anything else. | ||
29 | |||
30 | -gen_patch: | ||
31 | - diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch | ||
32 | - diff -Bbur ../installperl installperl > installperl.patch | ||
33 | - | ||
34 | -patch: | ||
35 | - cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \ | ||
36 | - patch -p1 < Cross/Makefile.SH.patch; \ | ||
37 | - patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \ | ||
38 | - sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \ | ||
39 | - touch CROSS_PATCHED ; fi | ||
40 | - | ||
41 | perl: | ||
42 | @echo Perl cross-build directory is $(TOPDIR) | ||
43 | @echo Target arch is $(SYS) | ||
44 | @@ -54,11 +44,11 @@ perl: | ||
45 | $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh | ||
46 | cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more | ||
47 | cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library | ||
48 | - cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
49 | - cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
50 | - cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
51 | + cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
52 | + cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
53 | + cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
54 | cd $(TOPDIR)/.. ; rm -rf install_me_here | ||
55 | - cd $(TOPDIR)/.. ; make install-strip | ||
56 | +# cd $(TOPDIR)/.. ; make install-strip | ||
57 | cd $(TOPDIR)/.. ; sh -x Cross/warp | ||
58 | |||
59 | |||