Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Feb 2020 19:59:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244008] [exp-run] Simplify Mk/bsd.gcc.mk
Message-ID:  <bug-244008-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244008

            Bug ID: 244008
           Summary: [exp-run] Simplify Mk/bsd.gcc.mk
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 211518
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211518&action=
=3Dedit
Proposed patch

Log:
Significantly simplify the logic to determine which port (or base version)
of GCC to use based on the specification of USE_GCC.  This is based on the
observation that we now only have a single version of GCC in base, namely
GCC 4.2, which is not in ports any longer.  And we limit the choice to
either the specific version requested or the default version of GCC in
the ports tree; i.e., we no longer consider any installed port of any
version in between (which is a fringe case extremely few, if any, users
would have experienced, and then only outside a clean build environment
in any case).

Streamline some debugging output accordingly.  Overall this removes some
25 lines of largely complex logic.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244008-7788>