From 04d40ac83ec7e2ea347a0451b63382b7158e3576 Mon Sep 17 00:00:00 2001 From: "stephen.arnold42" Date: Fri, 4 Apr 2014 15:47:55 -0700 Subject: [PATCH] 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) (From meta-openembedded rev: 445c72437e3d876c10ae8df97cf06d5e342134cc) Signed-off-by: Stephen Arnold Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- meta-openembedded/meta-oe/recipes-support/gpm/gpm_1.99.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-openembedded/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-openembedded/meta-oe/recipes-support/gpm/gpm_1.99.7.bb index e35e50e..a30a891 100644 --- a/meta-openembedded/meta-oe/recipes-support/gpm/gpm_1.99.7.bb +++ b/meta-openembedded/meta-oe/recipes-support/gpm/gpm_1.99.7.bb @@ -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 -- 2.7.4