Skip to contentSkip to conversation

guilt-native: eliminate hardcoded "/usr" in do_install

PATCH Applied Phil Blundell 2 participants 2 messages May 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 guilt-native: eliminate hardcoded "/usr" in do_install

For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. Let's use ${prefix} instead.

---
 meta/recipes-devtools/guilt/guilt-native_0.33.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/guilt/guilt-native_0.33.bb +1 -1
index 6261330..7d0246e 100644
@@ -28,5 +28,5 @@ do_compile() {
 }
 
 do_install() {
-       oe_runmake PREFIX=${D}/${base_prefix}/usr install
+       oe_runmake PREFIX=${D}/${prefix} install
 }
#1 lore raw
Quoted 13 lines · Phil Blundell

For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. Let's use ${prefix} instead.

---
 meta/recipes-devtools/guilt/guilt-native_0.33.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-devtools/guilt/guilt-native_0.33.bb +0 -0
index 6261330..7d0246e 100644

meta/recipes-devtools/guilt/guilt-native_0.33.bb do_compile() { · line 32

Quoted 6 lines
meta/recipes-devtools/guilt/guilt-native_0.33.bb +1 -1
@@ -28,5 +28,5 @@ do_compile() {
 }
 
 do_install() {
-       oe_runmake PREFIX=${D}/${base_prefix}/usr install
+       oe_runmake PREFIX=${D}/${prefix} install
 }

Merged to mast thanks.

(again, whitespace on this was corrupted)

Cheers,

Richard