summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-08-17 14:05:29 -0700
committerTom Rini <tom_rini@mentor.com>2010-08-17 14:05:29 -0700
commitab825fdc4946cd0f736ef1c3a94e1363cb6300bc (patch)
treec1a50ce159da2b87bdc4c1cbd58e6dca36fbd8a7
parentc19281c1790b5c3c80ed9dfc00d3fd73e3d42707 (diff)
downloadopenembedded-ab825fdc4946cd0f736ef1c3a94e1363cb6300bc.tar.gz
mpfr: Add nativesdk, switch to INC_PR, drop mpfr-native_svn
Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/mpfr/mpfr-native_svn.bb3
-rw-r--r--recipes/mpfr/mpfr.inc2
-rw-r--r--recipes/mpfr/mpfr_3.0.0.bb3
-rw-r--r--recipes/mpfr/mpfr_svn.bb3
4 files changed, 4 insertions, 7 deletions
diff --git a/recipes/mpfr/mpfr-native_svn.bb b/recipes/mpfr/mpfr-native_svn.bb
deleted file mode 100644
index 51b0f0a5d5..0000000000
--- a/recipes/mpfr/mpfr-native_svn.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require mpfr_svn.bb
-inherit native
-DEPENDS = "gmp-native"
diff --git a/recipes/mpfr/mpfr.inc b/recipes/mpfr/mpfr.inc
index 5f7f94cd8a..f4f745eecb 100644
--- a/recipes/mpfr/mpfr.inc
+++ b/recipes/mpfr/mpfr.inc
@@ -2,5 +2,7 @@ DESCRIPTION = "A C library for multiple-precision floating-point computations wi
HOMEPAGE = "http://www.mpfr.org/"
LICENSE = "GPL LGPL"
SECTION = "libs"
+BBCLASSEXTEND = "native nativesdk"
+PR = "r3"
inherit autotools
diff --git a/recipes/mpfr/mpfr_3.0.0.bb b/recipes/mpfr/mpfr_3.0.0.bb
index 1abccd6159..97f4970f08 100644
--- a/recipes/mpfr/mpfr_3.0.0.bb
+++ b/recipes/mpfr/mpfr_3.0.0.bb
@@ -3,8 +3,7 @@ require mpfr.inc
DEPENDS = "gmp"
S = "${WORKDIR}/mpfr-${PV}"
NATIVE_INSTALL_WORKS = "1"
-PR = "r2"
-BBCLASSEXTEND = "native"
+PR = "${INC_PR}.0"
SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \
file://p3.patch"
diff --git a/recipes/mpfr/mpfr_svn.bb b/recipes/mpfr/mpfr_svn.bb
index 97f2e5fdf6..c1695b42de 100644
--- a/recipes/mpfr/mpfr_svn.bb
+++ b/recipes/mpfr/mpfr_svn.bb
@@ -2,8 +2,7 @@ require mpfr.inc
DEPENDS = "gmp"
PV = "0.0+svn${SRCDATE}"
-PR = "r3"
+PR = "${INC_PR}.0"
SRC_URI = "svn://scm.gforge.inria.fr/svn/mpfr;module=trunk"
S = "${WORKDIR}/trunk"
-