From ab825fdc4946cd0f736ef1c3a94e1363cb6300bc Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 17 Aug 2010 14:05:29 -0700 Subject: [PATCH] mpfr: Add nativesdk, switch to INC_PR, drop mpfr-native_svn Signed-off-by: Tom Rini --- recipes/mpfr/mpfr-native_svn.bb | 3 --- recipes/mpfr/mpfr.inc | 2 ++ recipes/mpfr/mpfr_3.0.0.bb | 3 +-- recipes/mpfr/mpfr_svn.bb | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) delete mode 100644 recipes/mpfr/mpfr-native_svn.bb 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" - -- 2.39.5