pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/hledger
Module Name: pkgsrc
Committed By: riastradh
Date: Mon Mar 30 17:52:39 UTC 2020
Modified Files:
pkgsrc/finance/hledger: Makefile
Log Message:
Hack to make the hledger build run in C.UTF-8 locale.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/hledger/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/finance/hledger/Makefile
diff -u pkgsrc/finance/hledger/Makefile:1.1 pkgsrc/finance/hledger/Makefile:1.2
--- pkgsrc/finance/hledger/Makefile:1.1 Mon Mar 30 16:52:48 2020
+++ pkgsrc/finance/hledger/Makefile Mon Mar 30 17:52:39 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/03/30 16:52:48 riastradh Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/30 17:52:39 riastradh Exp $
.include "../../finance/hledger/common.mk"
@@ -22,3 +22,12 @@ USE_LANGUAGES= # none
.include "../../textproc/hs-lucid/buildlink3.mk"
.include "../../textproc/hs-shakespeare/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+
+# XXX Kludge: We need to run this in a UTF-8 locale; otherwise GHC is
+# unhappy. But we also need to make this override the C locale that
+# pkgsrc tries hard to ensure everything gets built in for the sake of
+# reproducibility, so it has to come _after_ bsd.pkg.mk. This would be
+# C.UTF-8, but C.UTF-8 was only recently introduced into NetBSD, so
+# let's pick a locale that is pretty universally supported even if not
+# exactly appropriate for this.
+MAKE_ENV+= LC_ALL=en_US.UTF-8
Home |
Main Index |
Thread Index |
Old Index