Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require quilt.inc |
| 2 | inherit gettext |
| 3 | RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" |
| 4 | SRC_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 |
| 9 | do_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 | } |