summaryrefslogtreecommitdiff
path: root/lang/jikes
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-03-31 17:55:21 +0000
committerdmcmahill <dmcmahill>2002-03-31 17:55:21 +0000
commitcc78d860fa5015cd35ed0f922fc92b3dbfaca326 (patch)
treeabbb4a692d480e4599d7e5859b552f3db60dc2f7 /lang/jikes
parentda3410c1557a53b789d25be426e3dee4c4148d15 (diff)
downloadpkgsrc-cc78d860fa5015cd35ed0f922fc92b3dbfaca326.tar.gz
depend on lang/gcc package on systems without the new toolchain. Avoids
internal c++ compiler errors. Also unlimit datasize. This fixes long standing build problems on alpha.
Diffstat (limited to 'lang/jikes')
-rw-r--r--lang/jikes/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/jikes/Makefile b/lang/jikes/Makefile
index 6b1b6b92a45..320b2ac94ea 100644
--- a/lang/jikes/Makefile
+++ b/lang/jikes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/02/24 22:07:00 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2002/03/31 17:55:21 dmcmahill Exp $
#
DISTNAME= jikes-1.15
@@ -14,7 +14,14 @@ ONLY_FOR_PLATFORM= NetBSD-*-* SunOS-*-*
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
CXXFLAGS+= ${CFLAGS}
+UNLIMIT_RESOURCES= datasize
USE_GMAKE= # uses multi-line comments with \ (naughty hack!)
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+# "egcs" cannot be used, as this package tickles c++ compiler bugs
+.include "../../lang/gcc/Makefile.gcc"
+.endif
+
.include "../../mk/bsd.pkg.mk"