pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ghc94



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.

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=



Home | Main Index | Thread Index | Old Index