ed: fix build issue, fix install
authorChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 18:58:36 +0000 (11:58 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 18:59:19 +0000 (11:59 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/ed/ed.inc

index 5372c0f..f0cd8bd 100644 (file)
@@ -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"