summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/groff
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 /meta/recipes-extended/groff
parent8232ce2b83ca0e65960b67305a95705f76977148 (diff)
downloadpoky-051d7aa18e7a5c6c18ad2aa4a8ddf8eebb64cf3e.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/groff')
-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() {
56 if [ -e ${D}${libdir}/charset.alias ]; then 56 if [ -e ${D}${libdir}/charset.alias ]; then
57 rm -rf ${D}${libdir}/charset.alias 57 rm -rf ${D}${libdir}/charset.alias
58 fi 58 fi
59
60 # awk is located at /usr/bin/, not /bin/
61 SPECIAL_AWK=`find ${D} -name special.awk`
62 if [ -f ${SPECIAL_AWK} ]; then
63 sed -i -e 's:#!.*awk:#! ${USRBINPATH}/awk:' ${SPECIAL_AWK}
64 fi
59} 65}
60 66
61do_install_append_class-native() { 67do_install_append_class-native() {