Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 19:02:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222268] [exp-run] Replace USE_GCC=5+ in Mk/Uses/compiler.mk
Message-ID:  <bug-222268-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222268
           Summary: [exp-run] Replace USE_GCC=3D5+ 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@FreeBSD.org
          Reporter: gerald@FreeBSD.org
                CC: bapt@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org,
                    jhb@FreeBSD.org, pizzamig@freebsd.org
             Flags: exp-run?

Created attachment 186309
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186309&action=
=3Dedit
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=3Dcompiler.mk.

Alas, there is a USE_GCC=3D5+ 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=3D compiler:c++14

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

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

This trivial patch takes care of that.=20

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.

--=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-222268-13>