diff options
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt_0.60.bb')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt_0.60.bb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-devtools/quilt/quilt_0.60.bb b/meta/recipes-devtools/quilt/quilt_0.60.bb index 89c3f84f39..d866032188 100644 --- a/meta/recipes-devtools/quilt/quilt_0.60.bb +++ b/meta/recipes-devtools/quilt/quilt_0.60.bb | |||
@@ -9,15 +9,12 @@ PR = "r1" | |||
9 | 9 | ||
10 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash" | 10 | CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash" |
11 | 11 | ||
12 | PERLPATH = "${bindir}/env perl" | ||
13 | PERLPATH_virtclass-nativesdk = "/usr/bin/env perl" | ||
14 | |||
15 | # fix build-distro specific perl path in the target perl scripts | 12 | # fix build-distro specific perl path in the target perl scripts |
16 | do_install_append() { | 13 | do_install_append() { |
17 | for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards | 14 | for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards |
18 | do | 15 | do |
19 | if [ -f $perlscript ]; then | 16 | if [ -f $perlscript ]; then |
20 | sed -i -e '1s,#!.*perl,#! ${PERLPATH},' $perlscript | 17 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' $perlscript |
21 | fi | 18 | fi |
22 | done | 19 | done |
23 | } | 20 | } |