aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-01-28 23:09:18 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-01-28 23:09:18 +0000
commit1048b890181bdf19a6373acdbb4fbb0c7f47c4f0 (patch)
treed9e7dac8fe2e908138a8d831c2617419b7d41b3f
parentc2134bb06149baa2bdedd27dcc437b2eb7b914cc (diff)
downloadopenembedded-1048b890181bdf19a6373acdbb4fbb0c7f47c4f0.tar.gz
openembedded-1048b890181bdf19a6373acdbb4fbb0c7f47c4f0.tar.bz2
openembedded-1048b890181bdf19a6373acdbb4fbb0c7f47c4f0.zip
perl-native_5.8.7.bb : amd64 build fixes from .dev
-rw-r--r--packages/perl/files/Configure-multilib.patch11
-rw-r--r--packages/perl/perl-native_5.8.7.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/perl/files/Configure-multilib.patch b/packages/perl/files/Configure-multilib.patch
new file mode 100644
index 0000000000..d3948a92c0
--- /dev/null
+++ b/packages/perl/files/Configure-multilib.patch
@@ -0,0 +1,11 @@
+--- perl-5.8.7/Configure.orig 2006-01-30 10:50:04.000000000 +0000
++++ perl-5.8.7/Configure 2006-01-30 10:51:18.000000000 +0000
+@@ -1240,7 +1240,7 @@
+ loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
+
+ : general looking path for locating libraries
+-glibpth="/lib /usr/lib $xlibpth"
++glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
+ glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+ test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+ test -f /shlib/libc.so && glibpth="/shlib $glibpth"
diff --git a/packages/perl/perl-native_5.8.7.bb b/packages/perl/perl-native_5.8.7.bb
index cc2b7fc5b1..a03c548042 100644
--- a/packages/perl/perl-native_5.8.7.bb
+++ b/packages/perl/perl-native_5.8.7.bb
@@ -8,7 +8,8 @@ inherit native
DEPENDS = "db3-native gdbm-native"
-SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz"
+SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
+ file://Configure-multilib.patch;patch=1"
S = "${WORKDIR}/perl-${PV}"
#perl is not parallel_make safe