summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-10-19 14:53:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 17:27:14 +0100
commit5f8f114e4cc29e96942f96ef7dec6d25e18b6d4f (patch)
tree5b7867dec533d001ce29d8bf7b4869299cea254f /meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh
parent53f7342562a66d1b14ecee234aa76be07951dedc (diff)
downloadpoky-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-xmeta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh43
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
8echo 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
37cp -f config.sh config.sh.COMMON
38
39TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")
40
41sed -r -i config.sh.COMMON \
42 -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
43 -e 's#'$TARGETOS'#@ARCH@#g'