summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenbo Gao <zhenbo.gao@windriver.com>2016-08-24 17:12:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-25 23:03:49 +0100
commit051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e (patch)
treefa24e21ccd4d51e2d94e9055312845fea6a23461
parent8232ce2b83ca0e65960b67305a95705f76977148 (diff)
downloadopenembedded-core-contrib-051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e.tar.gz
openembedded-core-contrib-051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e.tar.bz2
openembedded-core-contrib-051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e.zip
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>
-rw-r--r--meta/recipes-extended/groff/groff_1.22.3.bb6
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 4bffa814ff..af5acbeb78 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() {