icon-naming-utils-native: Fix long path to perl in icon-name-mapping
authorTom Rini <tom_rini@mentor.com>
Thu, 24 Feb 2011 19:39:47 +0000 (12:39 -0700)
committerTom Rini <tom_rini@mentor.com>
Thu, 24 Feb 2011 19:39:47 +0000 (12:39 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/icon-naming-utils/icon-naming-utils-native_0.8.7.bb

index eb12bb0..d2405a9 100644 (file)
@@ -1,11 +1,16 @@
 LICENSE = "GPLv2"
 DEPENDS = "libxml-simple-perl-native"
-
+PR = "r1"
 SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
 
 S = "${WORKDIR}/icon-naming-utils-${PV}"
 
 inherit autotools native
 
+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
+}
+
 SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
 SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"