From fe7db148c2f0286c1e4106d718c650f86cbb5030 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 18 Jul 2011 08:57:31 -0700 Subject: icon-naming-utils-native: Fix long path to perl in icon-name-mapping This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we instead use the nativeperl wrapper. (From OE-Core rev: a788f8262481706d5311eb9b2573f2d69ab2a5d6) Signed-off-by: Tom Rini Signed-off-by: Richard Purdie --- .../icon-naming-utils/icon-naming-utils-native_0.8.7.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/icon-naming-utils') diff --git a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb index d34fb0315d..4760c9627e 100644 --- a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb +++ b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb @@ -1,6 +1,6 @@ LICENSE = "GPLv2" DEPENDS = "libxml-simple-perl-native" -PR = "r2" +PR = "r3" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" @@ -9,3 +9,8 @@ SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-0.8.7.tar.gz" S = "${WORKDIR}/icon-naming-utils-${PV}" inherit autotools native perlnative + +do_configure_append() { + # Make sure we use our nativeperl wrapper. + sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in +} -- cgit v1.2.3-54-g00ecf