icu 3.6: sed binconfig file so that -I/usr/include doesn't end up in cflags for e...
authorKoen Kooi <koen@openembedded.org>
Fri, 31 Oct 2008 10:38:44 +0000 (11:38 +0100)
committerKoen Kooi <koen@openembedded.org>
Fri, 31 Oct 2008 10:38:44 +0000 (11:38 +0100)
packages/icu/icu_3.6.bb

index 91b25ad..1dbdf94 100644 (file)
@@ -1,7 +1,7 @@
 require icu-3.6.inc
 
 DEPENDS += "icu-native"
-PR = "r3"
+PR = "r4"
 
 SRC_URI += "file://use-g++-for-linking.patch;patch=1"
 
@@ -34,6 +34,11 @@ FILES_libicuio = "${libdir}/libicuio.so.*"
 
 do_stage() {
         autotools_stage_all
+}
+
+# We need to append this so it runs *after* binconfig.do_stage
+do_stage_append() {
+        sed -i -e s:^prefix=:prefix=\"${STAGING_DIR_TARGET}/usr\": ${STAGING_BINDIR_CROSS}/icu-config
 }