summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/quilt/quilt_0.51.bb15
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-devtools/quilt/quilt_0.51.bb b/meta/recipes-devtools/quilt/quilt_0.51.bb
index 6865cd8738..4e51b49983 100644
--- a/meta/recipes-devtools/quilt/quilt_0.51.bb
+++ b/meta/recipes-devtools/quilt/quilt_0.51.bb
@@ -4,4 +4,17 @@ RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
4SRC_URI += "file://aclocal.patch \ 4SRC_URI += "file://aclocal.patch \
5 file://gnu_patch_test_fix_target.patch \ 5 file://gnu_patch_test_fix_target.patch \
6 " 6 "
7PR = "r3" 7PR = "r4"
8
9PERLPATH = "${bindir}/env perl"
10PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
11
12# fix build-distro specific perl path in the target perl scripts
13do_install_append() {
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
15 do
16 if [ -f $perlscript ]; then
17 sed -i -e '1s,#!.*perl,#! ${PERLPATH},' $perlscript
18 fi
19 done
20}