mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
(From OE-Core rev: 691a2746e95caa583f89d8fd6eed246fc3e54979) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
627 B
BlitzBasic
19 lines
627 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 \
|
|
"
|
|
|
|
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
|
|
}
|