summaryrefslogtreecommitdiff
path: root/recipes/classpath/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2009-07-02 14:02:00 +0200
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-07-02 17:42:43 +0200
commit33e3a38aa15042126c6bfc50358800dac59d028b (patch)
tree196d2b167d595e0c8ba54b92708f5c53e2595742 /recipes/classpath/files
parent9c3ffea91c078e92def02d7c3658b23fea12e608 (diff)
classpath: depend on gmp (for libjavamath) and do not use system one
Diffstat (limited to 'recipes/classpath/files')
-rw-r--r--recipes/classpath/files/fix-gmp.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/classpath/files/fix-gmp.patch b/recipes/classpath/files/fix-gmp.patch
new file mode 100644
index 0000000000..3f0dfbe084
--- /dev/null
+++ b/recipes/classpath/files/fix-gmp.patch
@@ -0,0 +1,19 @@
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- classpath-0.98.orig/configure.ac
++++ classpath-0.98/configure.ac
+@@ -766,11 +766,11 @@ if test "x${COMPILE_JNI}" = xyes; then
+ dnl __gmpz_mul_si for earlier versions (>= 3.1).
+ dnl IMPORTANT: if you decide to look for __gmpz_combit, don't forget to
+ dnl change the name of the corresponding ac_ variable on lines 860...
+ if test "x${COMPILE_GMP}" = xyes; then
+ AC_CHECK_LIB(gmp, __gmpz_mul_si,
+- [GMP_CFLAGS=-I/usr/include
++ [GMP_CFLAGS=
+ GMP_LIBS=-lgmp ],
+ [GMP_CFLAGS=
+ GMP_LIBS= ])
+ AC_SUBST(GMP_CFLAGS)
+ AC_SUBST(GMP_LIBS)