cacaoh-*native: Try to be libtool version agnostic.
authorStefan Schmidt <stefan@datenfreihafen.org>
Thu, 28 Oct 2010 13:50:55 +0000 (15:50 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Thu, 28 Oct 2010 16:23:48 +0000 (18:23 +0200)
Based on a suggestion from Enrico Scholz we should use libtool --mode=install
for install libtool stuff. This fixes a regresion for me that came in with
commit 93c4d9d84096c817e74abf3f4c02f82af4c95178

It is working fine again now with libtool 2.2.6b (angstrom-2008), testing with
libtool 2.4 would be appreciated.

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
recipes/cacao/cacaoh-cldc-native_0.98.bb
recipes/cacao/cacaoh-native.inc
recipes/cacao/cacaoh-openjdk-native.inc
recipes/cacao/cacaoh-openjdk-native_0.99.4.bb

index 44b81fe..9777433 100644 (file)
@@ -5,7 +5,7 @@ SRC_URI = "\
   "
 
 do_stage() {
-       install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
+       libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
 }
 
 SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
index 203edea..655bb0c 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.cacaojvm.org/"
 LICENSE = "GPL"
 DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native"
 
-INC_PR = "r3"
+INC_PR = "r4"
 
 S = "${WORKDIR}/cacao-${PV}"
 
@@ -24,7 +24,7 @@ do_compile() {
 
 do_install() {
   install -d ${D}${bindir}/cacaoh-${PV}
-  install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
+  libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
 
 NATIVE_INSTALL_WORKS = "1"
index 4afb955..0a1481f 100644 (file)
@@ -27,5 +27,5 @@ do_compile() {
 }
 
 do_install() {
-       install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-openjdk-${PV}
+       libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-openjdk-${PV}
 }
index 27ab6ab..3f2686f 100644 (file)
@@ -1,6 +1,6 @@
 require cacaoh-openjdk-native.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "63220327925ace13756ae334c55a3baa"
 SRC_URI[sha256sum] = "1dfc4903dc0172286df4f1740fd0f12749ac81d51c602290b47cbe83d51e1d56"