Skip to contentSkip to conversation

gpm: sets D equal to DESTDIR instead of ROOT in do_install

PATCH Applied Stephen Arnold 2 participants 2 messages Apr 4, 2014 – Apr 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpm: sets D equal to DESTDIR instead of ROOT in do_install

This corrects a gpm install failure due to ROOT being used instead of DESTDIR, resulting in DESTDIR being undefined.

Upstream-Status: Inappropriate (distribution/packaging fix)

---
 meta-oe/recipes-support/gpm/gpm_1.99.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gpm/gpm_1.99.7.bb +1 -1
index e35e50e..a30a891 100644
@@ -40,7 +40,7 @@ CFLAGS += "-Wno-extra -Wno-error=unused-but-set-parameter -Wno-error=unused-but-
 CFLAGS += "-Wno-error=int-to-pointer-cast -Wno-error"
 
 do_install () {
-    oe_runmake 'ROOT=${D}' install
+    oe_runmake 'DESTDIR=${D}' install
     install -m 0644 src/headers/gpm.h ${D}${includedir}
     install -d ${D}/${sysconfdir}/init.d
     install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm
Signature · 1 line
1.9.1
Applied
#1 lore raw
Quoted 2 lines · Stephen Arnold

This corrects a gpm install failure due to ROOT being used instead of DESTDIR, resulting in DESTDIR being undefined.

Merged, thanks!

Quoted 29 lines

Upstream-Status: Inappropriate (distribution/packaging fix)

---
 meta-oe/recipes-support/gpm/gpm_1.99.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/gpm/gpm_1.99.7.bb +1 -1
index e35e50e..a30a891 100644
@@ -40,7 +40,7 @@ CFLAGS += "-Wno-extra -Wno-error=unused-but-set-parameter -Wno-error=unused-but-
 CFLAGS += "-Wno-error=int-to-pointer-cast -Wno-error"
 
 do_install () {
-    oe_runmake 'ROOT=${D}' install
+    oe_runmake 'DESTDIR=${D}' install
     install -m 0644 src/headers/gpm.h ${D}${includedir}
     install -d ${D}/${sysconfdir}/init.d
     install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]