[Bug 222268] [exp-run] Replace USE_GCC=5+ in Mk/Uses/compiler.mk

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 12 19:02:38 UTC 2017


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

            Bug ID: 222268
           Summary: [exp-run] Replace USE_GCC=5+ in Mk/Uses/compiler.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: bapt at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org,
                    jhb at FreeBSD.org, pizzamig at freebsd.org
             Flags: exp-run?

Created attachment 186309
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186309&action=edit
Proposed patch

I updated GCC_DEFAULT from 5 to 6 a few days ago which should have addressed
a few issues people were seeing with USES=compiler.mk.

Alas, there is a USE_GCC=5+ hardcoded in Mk/Uses/compiler.mk.

Looking at the origin of that

  r392084 | brd | 2015-07-14 20:32:14 +0000 (Tue, 14 Jul 2015) | 5 lines

  Add support for USES= compiler:c++14

  PR:             201076
  Approved by:    bapt, bdrewery (mentor)

this dates back to whenUSE_GCC=yes was still at GCC 4.8, so USE_GCC=5+
was enforcing a _newer_ version.  Now that we are even newer than GCC 5
by default, this can become USE_GCC=yes like the other instances in
Mk/Uses/compiler.mk.

This trivial patch takes care of that. 

Whenever lang/gcc6 is already installed, or no lang/gcc* flavor, it
should actually be a no-op, but one never knows, hence this request
for an exp-run.

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


More information about the freebsd-ports-bugs mailing list