(From OE-Core rev: 0e6843e7a3ed3b12e5f2bc6273047c2be5e47489) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
648 B
BlitzBasic
21 lines
648 B
BlitzBasic
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 \
|
|
"
|
|
PR = "r0"
|
|
|
|
PERLPATH = "${bindir}/env perl"
|
|
PERLPATH_virtclass-nativesdk = "/usr/bin/env perl"
|
|
|
|
# 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,#! ${PERLPATH},' $perlscript
|
|
fi
|
|
done
|
|
}
|