[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2101/8267] groff: correct the location path for awk
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2101/8267] groff: correct the location path for awk
- Date: Sat, 16 Dec 2017 22:45:26 +0000 (UTC)
commit 051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e
Author: Zhenbo Gao <zhenbo gao windriver com>
Date: Wed Aug 24 17:12:38 2016 +0800
groff: correct the location path for awk
awk is located at /usr/bin/, but not /bin/
(From OE-Core rev: a3d9d310866fe37f9c072bc81203cbf1b7ca688b)
Signed-off-by: Zhenbo Gao <zhenbo gao windriver com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-extended/groff/groff_1.22.3.bb | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-extended/groff/groff_1.22.3.bb b/meta/recipes-extended/groff/groff_1.22.3.bb
index 4bffa81..af5acbe 100644
--- a/meta/recipes-extended/groff/groff_1.22.3.bb
+++ b/meta/recipes-extended/groff/groff_1.22.3.bb
@@ -56,6 +56,12 @@ do_install_append() {
if [ -e ${D}${libdir}/charset.alias ]; then
rm -rf ${D}${libdir}/charset.alias
fi
+
+ # awk is located at /usr/bin/, not /bin/
+ SPECIAL_AWK=`find ${D} -name special.awk`
+ if [ -f ${SPECIAL_AWK} ]; then
+ sed -i -e 's:#!.*awk:#! ${USRBINPATH}/awk:' ${SPECIAL_AWK}
+ fi
}
do_install_append_class-native() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]