cmake 2.6.4: convert native to new style staging and add (currenly non working) 2...
authorKoen Kooi <koen@openembedded.org>
Sun, 28 Mar 2010 09:19:12 +0000 (11:19 +0200)
committerKoen Kooi <koen@openembedded.org>
Sun, 28 Mar 2010 09:19:12 +0000 (11:19 +0200)
* does anyone know how pass only 3 vars to cmakecache instead everything?

recipes/cmake/cmake-native_2.6.4.bb
recipes/cmake/cmake_2.6.4.bb [new file with mode: 0644]

index faf3976..662a6a7 100644 (file)
@@ -1,11 +1,6 @@
 inherit native
 require cmake.inc
 
-do_stage() {
-    oe_runmake install
-    autotools_stage_all
-}
-
 do_install() {
-       :
+       oe_runmake install
 }
diff --git a/recipes/cmake/cmake_2.6.4.bb b/recipes/cmake/cmake_2.6.4.bb
new file mode 100644 (file)
index 0000000..53a4c13
--- /dev/null
@@ -0,0 +1,8 @@
+require cmake.inc
+
+inherit cmake
+
+do_configure_append() {
+       sed -i -e 's,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=1,HAVE_GLIBC_STRERROR_R__TRYRUN_OUTPUT-ADVANCED:INTERNAL=0,' CMakeCache.txt
+}
+