ソースを参照

icu: Make sure changes apply to Makefile and Makefile.in to fix build failure

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Richard Purdie 15 年 前
コミット
7b74364120
2 ファイル変更3 行追加5 行削除
  1. 2 4
      meta/packages/icu/icu-3.6.inc
  2. 1 1
      meta/packages/icu/icu_3.6.bb

+ 2 - 4
meta/packages/icu/icu-3.6.inc

@@ -24,15 +24,13 @@ do_configure() {
 	libtoolize --force
 	gnu-configize --force
 	oe_runconf
-	if [ "${BUILD_ARCH}" != "${HOST_ARCH}" ]; then
+	if [ "${PN}" != "icu-native" ]; then
 		# In the non-native case we need to make substitutions to use
 		# the native versions of the tools
-		for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
+		for i in */Makefile* */*.inc */*/Makefile* */*/*.inc */*/*.inc.in ; do
 			sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i 
 			sed -i -e 's:$(BINDIR)/::g' $i 
 		done
-		sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
-		sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
 	fi
 }
 

+ 1 - 1
meta/packages/icu/icu_3.6.bb

@@ -1,3 +1,3 @@
 require icu-3.6.inc
 
-PR = "r5"
+PR = "r6"