Patchwork [meta-java] classpath: avoid picking up gmp.h from the host

login
register
mail settings
Submitter Jan Luebbe
Date Oct. 12, 2012, 1:04 p.m.
Message ID <1350047094-19611-1-git-send-email-jlu@pengutronix.de>
Download mbox | patch
Permalink /patch/38119/
State Accepted
Headers show

Comments

Jan Luebbe - Oct. 12, 2012, 1:04 p.m.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 recipes-core/classpath/classpath.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Henning Heinold - Oct. 14, 2012, 3:10 p.m.
On Fri, Oct 12, 2012 at 03:04:54PM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
> ---
>  recipes-core/classpath/classpath.inc |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc
> index 4c3174b..1a8093e 100644
> --- a/recipes-core/classpath/classpath.inc
> +++ b/recipes-core/classpath/classpath.inc
> @@ -21,7 +21,7 @@ RPROVIDES_${PN} = "${PBN}"
>  RPROVIDES_${PN}-common = "${PBN}-common"
>  RPROVIDES_${PN}-gtk = "${PBN}-awt"
>  
> -PR = "r0"
> +PR = "r1"
>  
>  SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
>  
> @@ -37,6 +37,7 @@ EXTRA_OECONF = "\
>    --with-vm=java \
>    --disable-Werror \
>    --with-antlr-jar=${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar \
> +  --with-gmp=${STAGING_LIBDIR}/.. \
>    --disable-alsa \
>    --disable-dssi \
>    --disable-qt4-peer \
> -- 
> 1.7.10.4

Thanks,

for the patch. It is applied to meta-java master branch.

Bye Henning

Patch

diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc
index 4c3174b..1a8093e 100644
--- a/recipes-core/classpath/classpath.inc
+++ b/recipes-core/classpath/classpath.inc
@@ -21,7 +21,7 @@  RPROVIDES_${PN} = "${PBN}"
 RPROVIDES_${PN}-common = "${PBN}-common"
 RPROVIDES_${PN}-gtk = "${PBN}-awt"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
 
@@ -37,6 +37,7 @@  EXTRA_OECONF = "\
   --with-vm=java \
   --disable-Werror \
   --with-antlr-jar=${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar \
+  --with-gmp=${STAGING_LIBDIR}/.. \
   --disable-alsa \
   --disable-dssi \
   --disable-qt4-peer \