pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Allow more memory for GHC to waste. Allow droppin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36581347071f
branches:  trunk
changeset: 426385:36581347071f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 30 19:36:03 2020 +0000

description:
Allow more memory for GHC to waste. Allow dropping extra compat
libraries in FILESDIR.

diffstat:

 lang/ghc7/Makefile  |  4 ++--
 lang/ghc80/Makefile |  6 ++++--
 lang/ghc84/Makefile |  6 ++++--
 3 files changed, 10 insertions(+), 6 deletions(-)

diffs (72 lines):

diff -r 1a69585543cd -r 36581347071f lang/ghc7/Makefile
--- a/lang/ghc7/Makefile        Mon Mar 30 19:35:19 2020 +0000
+++ b/lang/ghc7/Makefile        Mon Mar 30 19:36:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2020/03/27 04:13:57 riastradh Exp $
+# $NetBSD: Makefile,v 1.44 2020/03/30 19:36:03 joerg Exp $
 # -----------------------------------------------------------------------------
 # Package metadata
 #
@@ -193,7 +193,7 @@
 # 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:Q}/emul/netbsd/usr/lib
+ALL_ENV+=      LD_LIBRARY_PATH=${PREFIX:Q}/emul/netbsd/usr/lib:${FILESDIR}
 .endif
 
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 1a69585543cd -r 36581347071f lang/ghc80/Makefile
--- a/lang/ghc80/Makefile       Mon Mar 30 19:35:19 2020 +0000
+++ b/lang/ghc80/Makefile       Mon Mar 30 19:36:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/03/27 04:13:57 riastradh Exp $
+# $NetBSD: Makefile,v 1.7 2020/03/30 19:36:03 joerg Exp $
 # -----------------------------------------------------------------------------
 # Package metadata
 #
@@ -14,6 +14,8 @@
 COMMENT=       Compiler for the functional language Haskell - 8.0 Release Series
 LICENSE=       modified-bsd
 
+UNLIMIT_RESOURCES=     datasize virtualsize
+
 # TODO: We should be using the alternatives framework.
 CONFLICTS+=    ghc-[0-9]*
 
@@ -191,7 +193,7 @@
 # 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:Q}/emul/netbsd/usr/lib
+ALL_ENV+=      LD_LIBRARY_PATH=${PREFIX:Q}/emul/netbsd/usr/lib:${FILESDIR}
 .endif
 
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 1a69585543cd -r 36581347071f lang/ghc84/Makefile
--- a/lang/ghc84/Makefile       Mon Mar 30 19:35:19 2020 +0000
+++ b/lang/ghc84/Makefile       Mon Mar 30 19:36:03 2020 +0000
@@ -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 @@
 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 @@
 # 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"



Home | Main Index | Thread Index | Old Index