Patchwork [V3,2/4] gawk: fix libexec of the old 3.1.5 version

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date June 6, 2014, 2:28 a.m.
Message ID <b893b8b17a219b8f376ba2e24e13d6be18610029.1402021350.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/73361/
State Accepted
Commit aed4216e86d1b3223234c15445a348e1dd04f7be
Headers show

Comments

Qi.Chen@windriver.com - June 6, 2014, 2:28 a.m.
${libexec} doesn't necessarily equals to ${libdir}/${BPN}. So fix
this problem by using ${libdir}/${BPN} in FILES variable.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/gawk/gawk_3.1.5.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-extended/gawk/gawk_3.1.5.bb b/meta/recipes-extended/gawk/gawk_3.1.5.bb
index 48e8939..c7af4a9 100644
--- a/meta/recipes-extended/gawk/gawk_3.1.5.bb
+++ b/meta/recipes-extended/gawk/gawk_3.1.5.bb
@@ -26,9 +26,9 @@  inherit autotools gettext texinfo update-alternatives
 PACKAGES += "gawk-common pgawk"
 
 FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk"
-FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*"
+FILES_gawk-common += "${datadir}/awk/* ${libdir}/gawk/awk/*"
 FILES_pgawk = "${bindir}/pgawk*"
-FILES_${PN}-dbg += "${libexecdir}/awk/.debug"
+FILES_${PN}-dbg += "${libdir}/gawk/awk/.debug"
 
 ALTERNATIVE_${PN} = "awk"
 ALTERNATIVE_TARGET[awk] = "${bindir}/gawk"