[oe-commits] Florian Boor : mc: workaround to build for MIPS

git at git.openembedded.org git at git.openembedded.org
Thu Sep 27 14:39:01 UTC 2012


Module: openembedded.git
Branch: master
Commit: 94be7218e13bf3b283abd280f6a0ffd071434f64
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=94be7218e13bf3b283abd280f6a0ffd071434f64

Author: Florian Boor <florian.boor at kernelconcepts.de>
Date:   Wed Dec  7 18:20:37 2011 +0100

mc: workaround to build for MIPS 
 
    Introduce a workaround in order to build man2hlp tool on MIPS architectures.

Signed-off-by: Florian Boor <florian.boor at kernelconcepts.de>

---

 recipes/mc/mc.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/mc/mc.inc b/recipes/mc/mc.inc
index 8bad192..03b61b7 100644
--- a/recipes/mc/mc.inc
+++ b/recipes/mc/mc.inc
@@ -6,7 +6,7 @@ SECTION = "console/utils"
 PRIORITY = "optional"
 DEPENDS = "ncurses glib-2.0 glib-2.0-native"
 RDEPENDS_${PN} = "ncurses-terminfo"
-INC_PR = "r7"
+INC_PR = "r8"
 
 SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-${PV}.tar.gz"
 
@@ -40,6 +40,7 @@ do_compile_prepend() {
 	export HOST_PKG_CONFIG_PATH=
 	export GLIB_CFLAGS_FOR_BUILD="`PKG_CONFIG_PATH="$HOST_PKG_CONFIG_PATH" PKG_CONFIG_SYSROOT_DIR="" pkg-config --cflags glib-2.0`"
 	export GLIB_LIBS_FOR_BUILD="`PKG_CONFIG_PATH="$HOST_PKG_CONFIG_PATH" PKG_CONFIG_SYSROOT_DIR="" pkg-config --libs glib-2.0`"
+	oe_runmake CFLAGS="${GLIB_CFLAGS_FOR_BUILD}" CPPFLAGS="" -C src man2hlp
 }
 
 do_install_append() {





More information about the Openembedded-commits mailing list