summaryrefslogtreecommitdiff
path: root/lang/stalin
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-11-13 02:13:57 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-11-13 02:13:57 +0000
commit7d95bf11bbf5a12f6b74c116b3536b1192018101 (patch)
tree81c8cce3520fe61f6559fbac74ce73d59b211bb6 /lang/stalin
parent5bc6c08d79cb399eeec20d3ed2ec36a084afa899 (diff)
downloadpkgsrc-7d95bf11bbf5a12f6b74c116b3536b1192018101.tar.gz
decrease optimization level on sparc and also unlimit resources to allow
this to compile.
Diffstat (limited to 'lang/stalin')
-rw-r--r--lang/stalin/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/stalin/Makefile b/lang/stalin/Makefile
index a43ca3cd6ab..3efc9e97fa6 100644
--- a/lang/stalin/Makefile
+++ b/lang/stalin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/10/21 00:52:29 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2002/11/13 02:13:57 dmcmahill Exp $
DISTNAME= stalin-0.9
CATEGORIES= lang
@@ -13,6 +13,13 @@ COMMENT= Aggressively optimizing Scheme compiler
ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc *-*-alpha *-*-mips
USE_BUILDLINK2= yes
+UNLIMIT_RESOURCES= stacksize datasize
+
+.include "../../mk/bsd.prefs.mk"
+
+.if (${MACHINE_ARCH} == "sparc")
+CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O0/}
+.endif
post-patch:
${SED} -e 's:@PREFIX@:${PREFIX}:g' \