diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-10-19 14:53:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 17:27:14 +0100 |
commit | 5f8f114e4cc29e96942f96ef7dec6d25e18b6d4f (patch) | |
tree | 5b7867dec533d001ce29d8bf7b4869299cea254f /meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh | |
parent | 53f7342562a66d1b14ecee234aa76be07951dedc (diff) | |
download | poky-5f8f114e4cc29e96942f96ef7dec6d25e18b6d4f.tar.gz |
perl: upgrade from 5.12.3 to 5.14.2
parallel build fix patches are not needed as they are upstream now.
Got a new set of debian patch set for 5.14.2
perl-rpdepends: fix the autogenerated rdepends mistakes
take out some mdoules which are not going to be built.
[Saul Wold: Remove debug]
(From OE-Core rev: 8dc5f118832a4aca906239ffed82f72497c37f8e)
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.14.2/perl-configure.sh')
-rwxr-xr-x | meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh new file mode 100755 index 0000000000..e72ce49f99 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh | |||
@@ -0,0 +1,43 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | # | ||
4 | # Generate the common perl configuration | ||
5 | # Needs to be run on a host that matches the bitsize of the target platform | ||
6 | # | ||
7 | |||
8 | echo sh Configure -des \ | ||
9 | -Doptimize=-O2 \ | ||
10 | -Dmyhostname=localhost \ | ||
11 | -Dperladmin=root@localhost \ | ||
12 | -Dcc=gcc \ | ||
13 | -Dcf_by='Open Embedded' \ | ||
14 | -Dinstallprefix=@DESTDIR@ \ | ||
15 | -Dprefix=/usr \ | ||
16 | -Dvendorprefix=/usr \ | ||
17 | -Dsiteprefix=/usr \ | ||
18 | -Dotherlibdirs=/usr/lib/perl5/5.12.3 \ | ||
19 | -Duseshrplib \ | ||
20 | -Dusethreads \ | ||
21 | -Duseithreads \ | ||
22 | -Duselargefiles \ | ||
23 | -Ud_dosuid \ | ||
24 | -Dd_semctl_semun \ | ||
25 | -Ui_db \ | ||
26 | -Ui_ndbm \ | ||
27 | -Ui_gdbm \ | ||
28 | -Di_shadow \ | ||
29 | -Di_syslog \ | ||
30 | -Dman3ext=3pm \ | ||
31 | -Duseperlio \ | ||
32 | -Dinstallusrbinperl \ | ||
33 | -Ubincompat5005 \ | ||
34 | -Uversiononly \ | ||
35 | -Dpager='/usr/bin/less -isr' | ||
36 | |||
37 | cp -f config.sh config.sh.COMMON | ||
38 | |||
39 | TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#") | ||
40 | |||
41 | sed -r -i config.sh.COMMON \ | ||
42 | -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \ | ||
43 | -e 's#'$TARGETOS'#@ARCH@#g' | ||