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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 22 11:13:53 UTC 2020


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

Gerald Pfeifer <gerald at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |FIXED

--- Comment #2 from Gerald Pfeifer <gerald at FreeBSD.org> ---
Thank you, Antoine!

And, grr, I missed to connect this via the commit message:

PR:             244008 
Tested by:      antoine (exp-run)

Author: gerald
Date: Sat Feb 22 10:15:04 2020
New Revision: 526751
URL: https://svnweb.freebsd.org/changeset/ports/526751

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 our choice to either the specific version requested or the
  default version of GCC in the ports tree; i.e., we no longer consider
  an 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.

Modified:
  head/Mk/bsd.gcc.mk

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


More information about the freebsd-ports-bugs mailing list