summaryrefslogtreecommitdiff
path: root/lang/kaffe
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-09-13 16:53:56 +0000
committerwennmach <wennmach@pkgsrc.org>2000-09-13 16:53:56 +0000
commitc2c3247b8e5e7835ff0bb57b274609ecc9c4b60d (patch)
tree26a0395bc943492c6a36092e708238cb1002d964 /lang/kaffe
parent7d3c1e207b65a5890e104560f28b11579480cdb9 (diff)
downloadpkgsrc-c2c3247b8e5e7835ff0bb57b274609ecc9c4b60d.tar.gz
Kaffe now builds even if gmp>=3.0.0 is installed; it now depends on gmp.
Fixes PR 11003 by ... who the hell was that nerd ... ahh: Lex Wennmacher.
Diffstat (limited to 'lang/kaffe')
-rw-r--r--lang/kaffe/Makefile4
-rw-r--r--lang/kaffe/files/patch-sum3
-rw-r--r--lang/kaffe/patches/patch-aa15
3 files changed, 21 insertions, 1 deletions
diff --git a/lang/kaffe/Makefile b/lang/kaffe/Makefile
index ec8038a5c4e..2ccd34d2cd7 100644
--- a/lang/kaffe/Makefile
+++ b/lang/kaffe/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2000/03/21 22:40:56 tron Exp $
+# $NetBSD: Makefile,v 1.28 2000/09/13 16:53:56 wennmach Exp $
#
DISTNAME= kaffe-1.0.5
+PKGNAME= kaffe-1.0.5nb1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/
@@ -11,6 +12,7 @@ HOMEPAGE= http://www.kaffe.org/
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= libungif-*:../../graphics/libungif
+DEPENDS+= gmp>=3.0.0:../../devel/gmp
USE_X11= yes
diff --git a/lang/kaffe/files/patch-sum b/lang/kaffe/files/patch-sum
new file mode 100644
index 00000000000..4472ad1e791
--- /dev/null
+++ b/lang/kaffe/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.3 2000/09/13 16:53:56 wennmach Exp $
+
+MD5 (patch-aa) = 1a59ab0c92c3e99f881093e309d1d065
diff --git a/lang/kaffe/patches/patch-aa b/lang/kaffe/patches/patch-aa
new file mode 100644
index 00000000000..3023567c866
--- /dev/null
+++ b/lang/kaffe/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.7 2000/09/13 16:53:57 wennmach Exp $
+
+We need to add a #define since mpz_add is really only a macro expanding
+to __gmpz_add.
+
+--- configure.orig Mon Oct 18 07:23:53 1999
++++ configure Wed Sep 13 18:17:53 2000
+@@ -3434,6 +3434,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 3436 "configure"
+ #include "confdefs.h"
++#define mpz_add __gmpz_add
+ /* Override any gcc2 internal prototype to avoid an error. */
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */