summaryrefslogtreecommitdiff
path: root/lang/ghc84
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-30 19:36:03 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-30 19:36:03 +0000
commitdc55bd6caa19cf7bffea5ad38a4530a263c6959e (patch)
tree8be0fc30614b81a65d4717541c65f2cf556d83da /lang/ghc84
parent4558378447a62cb23283235fa5a127b91f25452f (diff)
downloadpkgsrc-dc55bd6caa19cf7bffea5ad38a4530a263c6959e.tar.gz
Allow more memory for GHC to waste. Allow dropping extra compat
libraries in FILESDIR.
Diffstat (limited to 'lang/ghc84')
-rw-r--r--lang/ghc84/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/ghc84/Makefile b/lang/ghc84/Makefile
index c04ebd6ffc7..b943fc4248f 100644
--- a/lang/ghc84/Makefile
+++ b/lang/ghc84/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2020/03/27 04:13:57 riastradh Exp $
+# $NetBSD: Makefile,v 1.9 2020/03/30 19:36:03 joerg Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -14,6 +14,8 @@ HOMEPAGE= https://www.haskell.org/ghc/
COMMENT= Compiler for the functional language Haskell - 8.4 Release Series
LICENSE= modified-bsd
+UNLIMIT_RESOURCES= datasize virtualsize
+
# TODO: We should be using the alternatives framework.
CONFLICTS+= ghc-[0-9]*
@@ -209,7 +211,7 @@ BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
# In a sandboxed build environment, we have to reach over to the
# installed libraries themselves, since the symlinks compat80 adds
# to the /usr tree can't be applied.
-ALL_ENV+= LD_LIBRARY_PATH=${PREFIX}/emul/netbsd/usr/lib
+ALL_ENV+= LD_LIBRARY_PATH=${PREFIX:Q}/emul/netbsd/usr/lib:${FILESDIR}
.endif
.include "../../converters/libiconv/buildlink3.mk"