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 <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Rini
2011-07-18 08:57:31 -07:00
committed by Richard Purdie
parent 6a52bad2f4
commit fe7db148c2

View File

@@ -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
}