blob: 00f900a112c6b308129ef6b19e332fe3cb3c3d40 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require quilt.inc
2inherit gettext
3RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
4SRC_URI += "file://aclocal.patch \
5 file://gnu_patch_test_fix_target.patch \
6 "
7
8# fix build-distro specific perl path in the target perl scripts
9do_install_append() {
10 for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards
11 do
12 if [ -f $perlscript ]; then
13 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' $perlscript
14 fi
15 done
16}