[oe-commits] Otavio Salvador : toscoterm: fix building with latest git version

GIT User account git at amethyst.openembedded.net
Tue Jan 13 14:15:16 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4f6885d5470608ffeb78b491cefdf05a8f191fe0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4f6885d5470608ffeb78b491cefdf05a8f191fe0

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Tue Jan 13 11:55:49 2009 -0200

toscoterm: fix building with latest git version

It was failing to find gtk and to install the binary, making it
unavailable for the rootfs creation.

---

 packages/toscoterm/toscoterm_git.bb |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/packages/toscoterm/toscoterm_git.bb b/packages/toscoterm/toscoterm_git.bb
index fd9181d..9826c9e 100644
--- a/packages/toscoterm/toscoterm_git.bb
+++ b/packages/toscoterm/toscoterm_git.bb
@@ -4,7 +4,7 @@ LICENSE = "GPLv3"
 DEPENDS = "vte"
 HOMEPAGE = "https://projetos.ossystems.com.br/projects/show/toscoterm"
 PV = "0.0+gitr${SRCREV}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "git://projetos.ossystems.com.br/git/toscoterm.git;protocol=git"
 S = "${WORKDIR}/git"
@@ -12,6 +12,10 @@ S = "${WORKDIR}/git"
 do_compile() {
 	oe_runmake \
 		CC="${CC}" \
-		CFLAGS="${CFLAGS} `pkg-config --cflags gtk-2.0` `pkg-config --cflags vte`" \
+		CFLAGS="${CFLAGS} `pkg-config --cflags gtk+-2.0` `pkg-config --cflags vte`" \
 		LDFLAGS="${LDFLAGS} `pkg-config --libs gtk+-2.0` `pkg-config --libs vte`"
 }
+
+do_install() {
+	oe_runmake PREFIX="/usr" DESTDIR="${D}" install
+}





More information about the Openembedded-commits mailing list