[Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Jun 2023 22:39:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271928

            Bug ID: 271928
           Summary: lang/ghc: 'make configure' fails with bad --target
                    argument if lang/gcc is installed.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
                CC: gerald@FreeBSD.org, haskell@FreeBSD.org
                CC: gerald@FreeBSD.org, haskell@FreeBSD.org

'make -C lang/ghc configure' fails if lang/gcc is installed (not just
lang/gcc12):

error: gcc: error: unrecognized command-line option
'--target=x86_64-portbld-freebsd--lflag=--target=x86_64-portbld-freebsd'

This has been happening since the update to 9.4.5 in late May.  However, I had
built 9.2.7 BEFORE the switch to Hadrian.  I have not tried building the 9.2.7
port after the switch to Hadrian.

This is on stable-12/amd64.

I'll attach the build log.

-- 
You are receiving this mail because:
You are on the CC list for the bug.