2011-12-27 19:19:14 +00:00
|
|
|
require quilt-${PV}.inc
|
2013-12-27 10:17:40 +00:00
|
|
|
inherit gettext
|
2011-12-27 19:19:14 +00:00
|
|
|
RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
|
|
|
|
SRC_URI += "file://aclocal.patch \
|
|
|
|
file://gnu_patch_test_fix_target.patch \
|
|
|
|
"
|
2012-06-13 23:39:24 +00:00
|
|
|
|
2012-04-25 21:09:14 +00:00
|
|
|
# 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
|
2012-07-18 17:38:05 +00:00
|
|
|
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' $perlscript
|
2012-04-25 21:09:14 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|