Skip to contentSkip to conversation

lowpan-tools: configure python files installation path

PATCH Applied [email protected] 2 participants 2 messages Oct 28, 2013 – Oct 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 lowpan-tools: configure python files installation path

From: Roy Li <[email protected]>

configure python files installation path or else it will use the default value /usr/lib/python*, which is wrong on 64bit and multilibs enabled system

---
 meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb +3 -1
index cf78b45..152ee49 100644
@@ -13,7 +13,9 @@ SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools python-dir
+
+CACHED_CONFIGUREVARS += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}/lowpan-tools"
 
 do_install_append() {
 	rmdir ${D}${localstatedir}/run
Signature · 1 line
1.7.10.4
#1 lore raw

Merged, thanks.
-J.

Quoted 26 lines · [[oe] [PATCH meta-networking v2] lowpan-tools: configure python files…

From: Roy Li <[email protected]>

configure python files installation path or else it will use the default value /usr/lib/python*, which is wrong on 64bit and multilibs enabled system

---
 meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb +3 -1
index cf78b45..152ee49 100644
@@ -13,7 +13,9 @@ SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools python-dir
+
+CACHED_CONFIGUREVARS += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR}/lowpan-tools"
 
 do_install_append() {
 	rmdir ${D}${localstatedir}/run
Signature · 2 lines
-Joe MacDonald.
:wq