[Bug 244008] [exp-run] Simplify Mk/bsd.gcc.mk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 9 19:59:10 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244008

            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 at FreeBSD.org
          Reporter: gerald at FreeBSD.org
                CC: ports-bugs at FreeBSD.org

Created attachment 211518
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211518&action=edit
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.

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


More information about the freebsd-ports-bugs mailing list