diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-01 14:49:54 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-06-02 11:57:49 +0100 |
commit | 648290d5bf4d6ff50d3643bb7ad902dfc23aa702 (patch) | |
tree | bd01a20f919c3ea0d924a4ba5334fba2cc7d4534 /meta/packages | |
parent | 420b1d848842cdf687b14e95f2c7f737d2745033 (diff) | |
download | poky-648290d5bf4d6ff50d3643bb7ad902dfc23aa702.tar.gz |
libtool: Make sure ltmain.sh is always regenerated. We can't just remove it since it has to be present to run configure
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/libtool/libtool-2.2.6/trailingslash.patch | 18 | ||||
-rw-r--r-- | meta/packages/libtool/libtool-cross_2.2.6.bb | 6 | ||||
-rw-r--r-- | meta/packages/libtool/libtool-native_2.2.6.bb | 2 | ||||
-rw-r--r-- | meta/packages/libtool/libtool-nativesdk_2.2.6.bb | 2 | ||||
-rw-r--r-- | meta/packages/libtool/libtool_2.2.6.bb | 8 |
5 files changed, 13 insertions, 23 deletions
diff --git a/meta/packages/libtool/libtool-2.2.6/trailingslash.patch b/meta/packages/libtool/libtool-2.2.6/trailingslash.patch index 71bb4c1b8f..b1956a6134 100644 --- a/meta/packages/libtool/libtool-2.2.6/trailingslash.patch +++ b/meta/packages/libtool/libtool-2.2.6/trailingslash.patch | |||
@@ -4,24 +4,6 @@ This is because libdir has a trailing slash which breaks the comparision. | |||
4 | 4 | ||
5 | RP 2/1/10 | 5 | RP 2/1/10 |
6 | 6 | ||
7 | Index: libtool-2.2.6/libltdl/config/ltmain.sh | ||
8 | =================================================================== | ||
9 | --- libtool-2.2.6.orig/libltdl/config/ltmain.sh 2008-09-07 18:56:33.000000000 +0100 | ||
10 | +++ libtool-2.2.6/libltdl/config/ltmain.sh 2010-02-02 15:36:17.083936911 +0000 | ||
11 | @@ -2009,8 +2009,12 @@ | ||
12 | dir="$dir$objdir" | ||
13 | |||
14 | if test -n "$relink_command"; then | ||
15 | + # Strip any trailing slash from the destination. | ||
16 | + func_stripname '' '/' "$libdir" | ||
17 | + destlibdir=$func_stripname_result | ||
18 | + | ||
19 | # Determine the prefix the user has applied to our future dir. | ||
20 | - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` | ||
21 | + inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$destlibdir\$%%"` | ||
22 | |||
23 | # Don't allow the user to place us outside of our expected | ||
24 | # location b/c this prevents finding dependent libraries that | ||
25 | Index: libtool-2.2.6/libltdl/config/ltmain.m4sh | 7 | Index: libtool-2.2.6/libltdl/config/ltmain.m4sh |
26 | =================================================================== | 8 | =================================================================== |
27 | --- libtool-2.2.6.orig/libltdl/config/ltmain.m4sh 2010-02-02 16:06:29.793905001 +0000 | 9 | --- libtool-2.2.6.orig/libltdl/config/ltmain.m4sh 2010-02-02 16:06:29.793905001 +0000 |
diff --git a/meta/packages/libtool/libtool-cross_2.2.6.bb b/meta/packages/libtool/libtool-cross_2.2.6.bb index 6710efa0ea..be5261f6bb 100644 --- a/meta/packages/libtool/libtool-cross_2.2.6.bb +++ b/meta/packages/libtool/libtool-cross_2.2.6.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require libtool_${PV}.bb | 1 | require libtool_${PV}.bb |
2 | 2 | ||
3 | PR = "r29" | 3 | PR = "r30" |
4 | PACKAGES = "" | 4 | PACKAGES = "" |
5 | SRC_URI_append = " file://cross_compile.patch;patch=1 \ | 5 | SRC_URI_append = " file://cross_compile.patch;patch=1 \ |
6 | file://prefix.patch;patch=1" | 6 | file://prefix.patch;patch=1" |
@@ -22,7 +22,9 @@ do_configure_prepend () { | |||
22 | } | 22 | } |
23 | 23 | ||
24 | do_compile () { | 24 | do_compile () { |
25 | : | 25 | # Sometimes this file doesn't get rebuilt, force the issue |
26 | rm -f ${S}/libltdl/config/ltmain.sh | ||
27 | make libltdl/config/ltmain.sh | ||
26 | } | 28 | } |
27 | 29 | ||
28 | do_install () { | 30 | do_install () { |
diff --git a/meta/packages/libtool/libtool-native_2.2.6.bb b/meta/packages/libtool/libtool-native_2.2.6.bb index ec8f651889..c5827ffb48 100644 --- a/meta/packages/libtool/libtool-native_2.2.6.bb +++ b/meta/packages/libtool/libtool-native_2.2.6.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require libtool_${PV}.bb | 1 | require libtool_${PV}.bb |
2 | 2 | ||
3 | PR = "r22" | 3 | PR = "r23" |
4 | SRC_URI_append = " file://cross_compile.patch;patch=1 \ | 4 | SRC_URI_append = " file://cross_compile.patch;patch=1 \ |
5 | file://prefix.patch;patch=1" | 5 | file://prefix.patch;patch=1" |
6 | 6 | ||
diff --git a/meta/packages/libtool/libtool-nativesdk_2.2.6.bb b/meta/packages/libtool/libtool-nativesdk_2.2.6.bb index cad256cfe4..77acbd5854 100644 --- a/meta/packages/libtool/libtool-nativesdk_2.2.6.bb +++ b/meta/packages/libtool/libtool-nativesdk_2.2.6.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require libtool_${PV}.bb | 1 | require libtool_${PV}.bb |
2 | 2 | ||
3 | PR = "r3" | 3 | PR = "r4" |
4 | SRC_URI_append = " file://cross_compile.patch;patch=1" | 4 | SRC_URI_append = " file://cross_compile.patch;patch=1" |
5 | 5 | ||
6 | inherit nativesdk | 6 | inherit nativesdk |
diff --git a/meta/packages/libtool/libtool_2.2.6.bb b/meta/packages/libtool/libtool_2.2.6.bb index 00e5cf8e29..e5deac7c40 100644 --- a/meta/packages/libtool/libtool_2.2.6.bb +++ b/meta/packages/libtool/libtool_2.2.6.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require libtool.inc | 1 | require libtool.inc |
2 | 2 | ||
3 | PR = "r20" | 3 | PR = "r21" |
4 | 4 | ||
5 | SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \ | 5 | SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}a.tar.gz \ |
6 | file://trailingslash.patch;patch=1 \ | 6 | file://trailingslash.patch;patch=1 \ |
@@ -16,6 +16,12 @@ inherit autotools | |||
16 | 16 | ||
17 | EXTRA_AUTORECONF = "--exclude=libtoolize" | 17 | EXTRA_AUTORECONF = "--exclude=libtoolize" |
18 | 18 | ||
19 | do_compile_prepend () { | ||
20 | # Sometimes this file doesn't get rebuilt, force the issue | ||
21 | rm -f ${S}/libltdl/config/ltmain.sh | ||
22 | make libltdl/config/ltmain.sh | ||
23 | } | ||
24 | |||
19 | # | 25 | # |
20 | # We want the results of libtool-cross preserved - don't stage anything ourselves. | 26 | # We want the results of libtool-cross preserved - don't stage anything ourselves. |
21 | # | 27 | # |