summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorreinoud <reinoud>2012-03-26 08:36:47 +0000
committerreinoud <reinoud>2012-03-26 08:36:47 +0000
commit5123cd44c4b8e074b2977213013f90d6693d5442 (patch)
tree2d8487f74818ae4d1cef07f2a8b71ad85cd51b5b /cad
parentad41cfa20160ae06e9b8d60a539279d51982b8f8 (diff)
downloadpkgsrc-5123cd44c4b8e074b2977213013f90d6693d5442.tar.gz
Unlimit stacksize when compiling this package. GCC gets haywire on its stack
since it gets into deep recursion of more than 15000 to 20000 function calls. It does end and compile though.
Diffstat (limited to 'cad')
-rw-r--r--cad/openscad/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cad/openscad/Makefile b/cad/openscad/Makefile
index 59093eb9142..1c95f8f9905 100644
--- a/cad/openscad/Makefile
+++ b/cad/openscad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/03/26 08:15:07 reinoud Exp $
+# $NetBSD: Makefile,v 1.6 2012/03/26 08:36:47 reinoud Exp $
#
PKGNAME= openscad-2011.12
@@ -32,7 +32,8 @@ SUBST_SED.destdir=-e 's,@DESTDIR@,${DESTDIR},g'
SUBST_FILES.destdir=${WRKSRC}/openscad.pro
SUBST_STAGE.destdir=post-patch
-CHECK_PORTABILITY_SKIP=tests/compare-bitmaps.sh
+UNLIMIT_RESOURCES= stacksize
+CHECK_PORTABILITY_SKIP+=tests/compare-bitmaps.sh
CHECK_INTERPRETER_SKIP+=share/openscad/libraries/MCAD/get_submodules.py
pre-build: