summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb')
-rw-r--r--yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb b/yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb
new file mode 100644
index 000000000..00f900a11
--- /dev/null
+++ b/yocto-poky/meta/recipes-devtools/quilt/quilt_0.64.bb
@@ -0,0 +1,16 @@
+require quilt.inc
+inherit gettext
+RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
+SRC_URI += "file://aclocal.patch \
+ file://gnu_patch_test_fix_target.patch \
+ "
+
+# fix build-distro specific perl path in the target perl scripts
+do_install_append() {
+ for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards
+ do
+ if [ -f $perlscript ]; then
+ sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' $perlscript
+ fi
+ done
+}
OpenPOWER on IntegriCloud