Skip to contentSkip to conversation

python3-xmodem: replace hardcoded /usr with ${prefix}

PATCH New Justin Bronder 1 participant 1 message Sep 5, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-xmodem: replace hardcoded /usr with ${prefix}

Without this the native recipe cannot be built.

---
 meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-xmodem_0.4.7.bb +2 -2
index c1ad6a2a8..e41afb56c 100644
@@ -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} += " \
Signature · 1 line
2.46.0