summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-04-06 00:08:53 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-04-06 00:08:53 +0000
commit0104f1c1b151d3490724b8737beab89696845089 (patch)
tree24e017073f21311203d19559066317db5b2e29bc /dev-java/antlr
parentmasking =antlr-2.7.2 while working on it (diff)
downloadgentoo-2-0104f1c1b151d3490724b8737beab89696845089.tar.gz
gentoo-2-0104f1c1b151d3490724b8737beab89696845089.tar.bz2
gentoo-2-0104f1c1b151d3490724b8737beab89696845089.zip
trying to fix bug
Diffstat (limited to 'dev-java/antlr')
-rw-r--r--dev-java/antlr/antlr-2.7.2.ebuild14
-rw-r--r--dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch12
-rw-r--r--dev-java/antlr/files/digest-antlr-2.7.23
3 files changed, 22 insertions, 7 deletions
diff --git a/dev-java/antlr/antlr-2.7.2.ebuild b/dev-java/antlr/antlr-2.7.2.ebuild
index aea6ecea5a8b..40c28f26deb7 100644
--- a/dev-java/antlr/antlr-2.7.2.ebuild
+++ b/dev-java/antlr/antlr-2.7.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.2.ebuild,v 1.1 2003/04/05 23:53:45 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.2.ebuild,v 1.2 2003/04/06 00:08:43 robbat2 Exp $
S=${WORKDIR}/${P}
-DESCRIPTION="A parser generator for Java and C++ written in Java"
+DESCRIPTION="A parser generator for Java and C++, written in Java"
SRC_URI="http://www.antlr.org/download/${P}.tar.gz"
HOMEPAGE="http://www.antlr.org"
DEPEND=">=virtual/jdk-1.2
@@ -11,6 +11,12 @@ DEPEND=">=virtual/jdk-1.2
SLOT="2"
LICENSE="ANTLR"
KEYWORDS="x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} && patch -p1 <${FILESDIR}/${P}-gcc3-gentoo.patch || die
+}
src_compile() {
@@ -23,10 +29,6 @@ src_compile() {
echo $CLASSPATH
econf || die
make all || die
-
-# cd lib/cpp
-# econf || die
-# emake || die
}
src_install () {
diff --git a/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch b/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch
new file mode 100644
index 000000000000..cc09a74980ca
--- /dev/null
+++ b/dev-java/antlr/files/antlr-2.7.2-gcc3-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp
+--- antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp 2002-01-03 20:03:43.000000000 -0600
++++ antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp 2003-01-12 11:41:51.000000000 -0600
+@@ -44,6 +44,8 @@
+ #include <antlr/LexerSharedInputState.hpp>
+ #include <map>
+
++#include <ctype.h>
++
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
+ namespace antlr {
+ #endif
diff --git a/dev-java/antlr/files/digest-antlr-2.7.2 b/dev-java/antlr/files/digest-antlr-2.7.2
index 9b8f9580d191..77fa303311b5 100644
--- a/dev-java/antlr/files/digest-antlr-2.7.2
+++ b/dev-java/antlr/files/digest-antlr-2.7.2
@@ -1,3 +1,4 @@
+MD5 abd32014c7d5dc82f792f5e290b4527a /files/antlr-2.7.2-gcc3-gentoo.patch 433
MD5 abd32014c7d5dc82f792f5e290b4527a /files/antlr-2.7.2_alpha2-gcc3-gentoo.patch 433
-MD5 cb337eb1c5ee1f5653a26acb87d42222 /antlr-2.7.2.ebuild 900
+MD5 1d53876a37a6c39f3c60f89b47f904ca /antlr-2.7.2.ebuild 961
MD5 d67ffcaba6b2cedd99601b9052f63957 antlr-2.7.2.tar.gz 1557051