[oe-commits] Tom Rini : icon-naming-utils-native: Fix long path to perl in icon-name-mapping

git version control git at git.openembedded.org
Tue Jul 12 19:45:39 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 15c289f145be27f8583802813404fd8bd0ae34bb
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=15c289f145be27f8583802813404fd8bd0ae34bb

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Jul 13 01:07:57 2011 +0000

icon-naming-utils-native: Fix long path to perl in icon-name-mapping

This is imported from oe.dev

Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../icon-naming-utils/icon-naming-utils_0.8.90.bb  |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb b/meta-oe/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
index c10b8bf..ddd1e20 100644
--- a/meta-oe/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
+++ b/meta-oe/recipes-devtools/icon-naming-utils/icon-naming-utils_0.8.90.bb
@@ -3,6 +3,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libxml-simple-perl-native"
 
+PR = "r1"
+
 SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
 SRC_URI[md5sum] = "2c5c7a418e5eb3268f65e21993277fba"
 SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"
@@ -11,6 +13,11 @@ S = "${WORKDIR}/icon-naming-utils-${PV}"
 
 inherit autotools
 
+do_configure_append() {
+        # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+        sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/icon-name-mapping.pl.in
+}
+
 FILES_${PN} += "${datadir}/dtds"
 
 BBCLASSEXTEND = "native"





More information about the Openembedded-commits mailing list