[oe-commits] Chris Larson : ed: fix build issue, fix install

git version control git at git.openembedded.org
Wed Oct 27 19:03:36 UTC 2010


Module: openembedded.git
Branch: master
Commit: 9bae7ad2878291769d33eba2960e7fb627e99ca1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9bae7ad2878291769d33eba2960e7fb627e99ca1

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Oct 27 11:58:36 2010 -0700

ed: fix build issue, fix install

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/ed/ed.inc |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/ed/ed.inc b/recipes/ed/ed.inc
index 5372c0f..f0cd8bd 100644
--- a/recipes/ed/ed.inc
+++ b/recipes/ed/ed.inc
@@ -1,6 +1,6 @@
 DESCRIPTION = "GNU ed is a line-oriented text editor"
 HOMEPAGE = "http://www.gnu.org/software/ed/"
-INC_PR = "0"
+INC_PR = "1"
 
 CONFIGUREOPTS = "\
     '--srcdir=${S}' \
@@ -10,7 +10,7 @@ CONFIGUREOPTS = "\
     '--datadir=${datadir}' \
     '--infodir=${infodir}' \
     '--sysconfdir=${sysconfdir}' \
-    'CXX=${CXX}' \
+    'CC=${CC}' \
     'CPPFLAGS=${CPPFLAGS}' \
     'CXXFLAGS=${CXXFLAGS}' \
     'LDFLAGS=${LDFLAGS}' \
@@ -22,4 +22,8 @@ do_configure () {
     ${S}/configure ${CONFIGUREOPTS}
 }
 
+do_install () {
+    oe_runmake 'DESTDIR=${D}' install
+}
+
 BBCLASSEXTEND += "native nativesdk"





More information about the Openembedded-commits mailing list