diff mbox series

[meta-python,scarthgap] python3-xmodem: replace hardcoded /usr with ${prefix}

Message ID 20241105211951.305771-1-jsbronder@cold-front.org
State New
Headers show
Series [meta-python,scarthgap] python3-xmodem: replace hardcoded /usr with ${prefix} | expand

Commit Message

Justin Bronder Nov. 5, 2024, 9:19 p.m. UTC
Without this the native recipe cannot be built.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
(cherry picked from commit 4a86f8a54fe96f4aa05232180a2a744a15638f55)
---
 meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb b/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb
index 482f0c641..a5942e3d5 100644
--- a/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb
+++ b/meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb
@@ -9,8 +9,8 @@  inherit pypi setuptools3
 
 do_install:append() {
     install -d ${D}${docdir}/${PN}
-    mv ${D}/usr/doc/* ${D}${docdir}/${PN}/
-    rmdir ${D}/usr/doc
+    mv ${D}${prefix}/doc/* ${D}${docdir}/${PN}/
+    rmdir ${D}${prefix}/doc
 }
 
 RDEPENDS:${PN} += " \