summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorreinoud <reinoud@pkgsrc.org>2012-03-26 08:36:47 +0000
committerreinoud <reinoud@pkgsrc.org>2012-03-26 08:36:47 +0000
commit2f318b4d6b650a1a4cea1874e8468ff1bb9c0833 (patch)
tree2d8487f74818ae4d1cef07f2a8b71ad85cd51b5b /cad
parent1877bb2b20caa9e6886836a7b6714c90aea90274 (diff)
downloadpkgsrc-2f318b4d6b650a1a4cea1874e8468ff1bb9c0833.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: