diff options
Diffstat (limited to 'meta/recipes-devtools/quilt/quilt_0.61.bb')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt_0.61.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/quilt/quilt_0.61.bb b/meta/recipes-devtools/quilt/quilt_0.61.bb new file mode 100644 index 0000000..565e46a --- /dev/null +++ b/meta/recipes-devtools/quilt/quilt_0.61.bb @@ -0,0 +1,18 @@ +require quilt-${PV}.inc +inherit gettext +RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" +SRC_URI += "file://aclocal.patch \ + file://gnu_patch_test_fix_target.patch \ + " + +CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash" + +# 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 +} |