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 <stephen.arnold42@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
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