diff options
| author | stephen.arnold42 <stephen.arnold42@gmail.com> | 2014-04-04 15:47:55 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-04-20 13:42:06 +0200 |
| commit | 445c72437e3d876c10ae8df97cf06d5e342134cc (patch) | |
| tree | d259a10b727a48fa6849363aee96d8916be47158 | |
| parent | dde3dbd9a3347e292e15d6b8f1e3e61561acf441 (diff) | |
| download | meta-openembedded-445c72437e3d876c10ae8df97cf06d5e342134cc.tar.gz | |
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)
Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/gpm/gpm_1.99.7.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb b/meta-oe/recipes-support/gpm/gpm_1.99.7.bb index e35e50ee3a..a30a8914b3 100644 --- a/meta-oe/recipes-support/gpm/gpm_1.99.7.bb +++ b/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- | |||
| 40 | CFLAGS += "-Wno-error=int-to-pointer-cast -Wno-error" | 40 | CFLAGS += "-Wno-error=int-to-pointer-cast -Wno-error" |
| 41 | 41 | ||
| 42 | do_install () { | 42 | do_install () { |
| 43 | oe_runmake 'ROOT=${D}' install | 43 | oe_runmake 'DESTDIR=${D}' install |
| 44 | install -m 0644 src/headers/gpm.h ${D}${includedir} | 44 | install -m 0644 src/headers/gpm.h ${D}${includedir} |
| 45 | install -d ${D}/${sysconfdir}/init.d | 45 | install -d ${D}/${sysconfdir}/init.d |
| 46 | install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm | 46 | install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm |
