Received: by mail.netbsd.org (Postfix, from userid 605) id 39C4384F4C; Tue, 7 Feb 2023 10:45:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6BA5F84EEF for ; Tue, 7 Feb 2023 10:45:26 +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 F12MfMgL-jnl for ; Tue, 7 Feb 2023 10:45:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B76F484CBC for ; Tue, 7 Feb 2023 10:45:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B0C35FA90; Tue, 7 Feb 2023 10:45:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_167576672525360" MIME-Version: 1.0 Date: Tue, 7 Feb 2023 10:45:25 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/ghc94 To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20230207104525.B0C35FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_167576672525360 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Tue Feb 7 10:45:25 UTC 2023 Modified Files: pkgsrc/lang/ghc94: Makefile Log Message: ghc94: Fix build with SunOS ld. Some part of ar(1) support for "@" is leaking into LdHasFilelist, which while set to no is still being called with "@" and breaking the build. Just disable ar "@" support for now, this is a regression in 9.4.x. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/ghc94/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_167576672525360 Content-Disposition: inline Content-Length: 1012 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ghc94/Makefile diff -u pkgsrc/lang/ghc94/Makefile:1.4 pkgsrc/lang/ghc94/Makefile:1.5 --- pkgsrc/lang/ghc94/Makefile:1.4 Tue Feb 7 01:20:57 2023 +++ pkgsrc/lang/ghc94/Makefile Tue Feb 7 10:45:25 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2023/02/07 01:20:57 pho Exp $ +# $NetBSD: Makefile,v 1.5 2023/02/07 10:45:25 jperkin Exp $ # ----------------------------------------------------------------------------- # Package metadata # @@ -82,6 +82,10 @@ CONFIGURE_ENV+= ac_cv_prog_fp_prog_ar=$ CONFIGURE_ENV+= ac_cv_prog_LIBTOOL=libtool CONFIGURE_ARGS.common+= LD=${LD:Q} +# While we use binutils ar which supports "@", this appears to be leaking +# somewhere into assuming that SunOS ld also supports "@" which it does not. +CONFIGURE_ENV.SunOS+= fp_cv_prog_ar_supports_atfile=no + # If there is HsColour in the PATH, GHC's build system tries to use it # without checking if it really works. That's not what we appreciate. CONFIGURE_ENV+= ac_cv_path_HSCOLOUR= --_----------=_167576672525360--