From: "Joao H. Freitas" <joaohf@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb
Date: Tue, 29 Jun 2010 21:43:18 -0300 [thread overview]
Message-ID: <1277858599-27400-2-git-send-email-joaohf@gmail.com> (raw)
In-Reply-To: <1277858599-27400-1-git-send-email-joaohf@gmail.com>
---
recipes/cmake/cmake-sdk_2.8.1.bb | 5 -----
recipes/cmake/cmake.inc | 2 ++
recipes/cmake/cmake_2.8.1.bb | 11 +++++++++++
3 files changed, 13 insertions(+), 5 deletions(-)
delete mode 100644 recipes/cmake/cmake-sdk_2.8.1.bb
create mode 100644 recipes/cmake/cmake_2.8.1.bb
diff --git a/recipes/cmake/cmake-sdk_2.8.1.bb b/recipes/cmake/cmake-sdk_2.8.1.bb
deleted file mode 100644
index 86356f7..0000000
--- a/recipes/cmake/cmake-sdk_2.8.1.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-inherit sdk
-require cmake.inc
-
-SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
-SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
diff --git a/recipes/cmake/cmake.inc b/recipes/cmake/cmake.inc
index 631d846..5601ddb 100644
--- a/recipes/cmake/cmake.inc
+++ b/recipes/cmake/cmake.inc
@@ -10,6 +10,8 @@ PR = "r3"
CMAKE_MAJOR_VERSION = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "http://www.cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz"
+BBCLASSEXTEND = "native sdk"
+
inherit autotools
S = "${WORKDIR}/cmake-${PV}"
diff --git a/recipes/cmake/cmake_2.8.1.bb b/recipes/cmake/cmake_2.8.1.bb
new file mode 100644
index 0000000..845ea7c
--- /dev/null
+++ b/recipes/cmake/cmake_2.8.1.bb
@@ -0,0 +1,11 @@
+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
+}
+
+
+SRC_URI[md5sum] = "feadc2e5ebbfed0efc90178583503725"
+SRC_URI[sha256sum] = "7eae74ab7673974a68e395c211854d318f0af2d320590a670339ee8ee9422242"
--
1.7.0.2
next prev parent reply other threads:[~2010-06-30 0:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 0:43 Added new cmake version Joao H. Freitas
2010-06-30 0:43 ` Joao H. Freitas [this message]
2010-06-30 6:55 ` [PATCH 1/2] add cmake 2.8.1recipes/cmake/cmake-native_2.8.1.bb Koen Kooi
2010-07-01 0:01 ` João Henrique Freitas
2010-06-30 0:43 ` [PATCH 2/2] replace sdk -> nativesdk Joao H. Freitas
2010-06-30 6:54 ` Koen Kooi
2010-06-30 7:03 ` Frans Meulenbroeks
2010-06-30 8:49 ` Koen Kooi
2010-06-30 7:03 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1277858599-27400-2-git-send-email-joaohf@gmail.com \
--to=joaohf@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox