<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 2012年10月10日 08:48, <a class="moz-txt-link-abbreviated" href="mailto:tom.zanussi@intel.com">tom.zanussi@intel.com</a> wrote:
<blockquote
cite="mid:2bc985f69847a615429a908aa0e8f972a8be91f9.1349829329.git.tom.zanussi@intel.com"
type="cite">
<pre wrap="">From: Tom Zanussi <a class="moz-txt-link-rfc2396E" href="mailto:tom.zanussi@intel.com"><tom.zanussi@intel.com></a>
This patch uses an unmodified version of archlibexp called
archlib_exp, introduced by a previous patch to config.sh, which is
used to generate the correct value of ARCHLIB_EXP into config.h
Fixes [YOCTO #3099].
Signed-off-by: Tom Zanussi <a class="moz-txt-link-rfc2396E" href="mailto:tom.zanussi@intel.com"><tom.zanussi@intel.com></a>
---
.../perl/perl-5.14.2/perl-archlib-exp.patch | 15 +++++++++++++++
meta/recipes-devtools/perl/perl_5.14.2.bb | 3 ++-
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-devtools/perl/perl-5.14.2/perl-archlib-exp.patch
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-archlib-exp.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-archlib-exp.patch
new file mode 100644
index 0000000..1c170ef
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-archlib-exp.patch
@@ -0,0 +1,15 @@
+Upstream-Status:Inappropriate [embedded specific]
+
+Index: perl-5.14.2/config_h.SH
+===================================================================
+--- perl-5.14.2.orig/config_h.SH
++++ perl-5.14.2/config_h.SH
+@@ -996,7 +996,7 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#und
+ *        in programs that are not prepared to deal with ~ expansion at run-time.
+ */
+ #$d_archlib ARCHLIB "$archlib"                /**/
+-#$d_archlib ARCHLIB_EXP "$archlibexp"                /**/
++#$d_archlib ARCHLIB_EXP "$archlib_exp"                /**/
+
+ /* ARCHNAME:
+ *        This symbol holds a string representing the architecture name.
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 09b2acb..d9206d8 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = <a class="moz-txt-link-rfc2396E" href="file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a\#Weneedgnugrep(for-I)DEPENDS=">"file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
# We need gnugrep (for -I)
DEPENDS = "</a>virtual/db grep-native"
DEPENDS += "gdbm zlib"
-PR = "r10"
+PR = "r11"
# 5.10.1 has Module::Build built-in
PROVIDES += "libmodule-build-perl"
@@ -66,6 +66,7 @@ SRC_URI = "<a class="moz-txt-link-freetext" href="http://www.cpan.org/src/5.0/perl-$">http://www.cpan.org/src/5.0/perl-$</a>{PV}.tar.gz \
<a class="moz-txt-link-freetext" href="file://cross-generate_uudmap.patch">file://cross-generate_uudmap.patch</a> \
        <a class="moz-txt-link-freetext" href="file://fix_bad_rpath.patch">file://fix_bad_rpath.patch</a> \
        <a class="moz-txt-link-freetext" href="file://perl-build-in-t-dir.patch">file://perl-build-in-t-dir.patch</a> \
+        <a class="moz-txt-link-freetext" href="file://perl-archlib-exp.patch">file://perl-archlib-exp.patch</a> \
        \
<a class="moz-txt-link-freetext" href="file://config.sh">file://config.sh</a> \
<a class="moz-txt-link-freetext" href="file://config.sh-32">file://config.sh-32</a> \
</pre>
</blockquote>
<font size="+1">test them for qemux86 and qemuppc, the @INC path is
right now.<br>
<br>
Regards,<br>
Kai<br>
</font>
</body>
</html>