Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6A64F84E84 for ; Thu, 30 Nov 2023 16:24:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 4v6n-cQEhV-u for ; Thu, 30 Nov 2023 16:24:00 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B9A4E84CEB for ; Thu, 30 Nov 2023 16:23:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id ADBB4FA40; Thu, 30 Nov 2023 16:23:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1701361439179650" MIME-Version: 1.0 Date: Thu, 30 Nov 2023 16:23:59 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/ghc96 To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20231130162359.ADBB4FA40@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1701361439179650 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu Nov 30 16:23:59 UTC 2023 Modified Files: pkgsrc/lang/ghc96: Makefile Log Message: ghc96: Build with LC_ALL=en_US.UTF-8. There appear to be a number of UTF-8 issues in ghc, some of which are patched in this package and the resulting binaries, but there are others that may be caused by the bootstrap kit. Package now builds correctly on SunOS. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/ghc96/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1701361439179650 Content-Disposition: inline Content-Length: 865 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ghc96/Makefile diff -u pkgsrc/lang/ghc96/Makefile:1.5 pkgsrc/lang/ghc96/Makefile:1.6 --- pkgsrc/lang/ghc96/Makefile:1.5 Thu Nov 30 16:20:48 2023 +++ pkgsrc/lang/ghc96/Makefile Thu Nov 30 16:23:59 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2023/11/30 16:20:48 jperkin Exp $ +# $NetBSD: Makefile,v 1.6 2023/11/30 16:23:59 jperkin Exp $ # ----------------------------------------------------------------------------- # Package metadata # @@ -309,3 +309,8 @@ ALL_ENV+= LD_LIBRARY_PATH=${PREFIX}/emul .include "../../mk/curses.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" + +# ghc has UTF-8 issues, this is needed to avoid problems during build that +# may manifest from the bootstrap kit. It comes after bsd.pkg.mk as that +# sets LC_ALL=C first. +ALL_ENV+= LC_ALL=en_US.UTF-8 --_----------=_1701361439179650--