summaryrefslogtreecommitdiff
path: root/lang/jikes
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-03-31 17:55:21 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-03-31 17:55:21 +0000
commitbdaa29be3bfe0fc0c6ca06ed9dc05010b32aab61 (patch)
treeabbb4a692d480e4599d7e5859b552f3db60dc2f7 /lang/jikes
parentea9d5ea3078337b46d5408cf218921c5902a817b (diff)
downloadpkgsrc-bdaa29be3bfe0fc0c6ca06ed9dc05010b32aab61.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"