summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb
index 6dfff781b1..0863bb862d 100644
--- a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb
+++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.14.bb
@@ -18,4 +18,12 @@ S = "${WORKDIR}/Devel-CheckLib-${PV}"
18 18
19inherit cpan 19inherit cpan
20 20
21do_install:append() {
22 # update interpreter on shebang line
23 # since old version env doesn't support multiple arguments, replace option
24 # '-w' with 'use warnings;'
25 sed -i -e "s:^#!.*:#!/usr/bin/env perl:" \
26 -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib
27}
28
21BBCLASSEXTEND="native" 29BBCLASSEXTEND="native"