Bug 232162 - lang/gcc: Update pkg-descr to reflect current default version of GCC
Summary: lang/gcc: Update pkg-descr to reflect current default version of GCC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-10 20:30 UTC by freebsd
Modified: 2018-10-13 07:25 UTC (History)
1 user (show)

See Also:


Attachments
Patch to change gcc5 -> gcc7 (474 bytes, patch)
2018-10-10 20:30 UTC, freebsd
no flags Details | Diff
Remove the stale reference to GCC version (535 bytes, text/plain)
2018-10-10 23:50 UTC, freebsd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2018-10-10 20:30:45 UTC
Created attachment 198013 [details]
Patch to change gcc5 -> gcc7

A small tweak to eliminate the confusing reference to gcc5 from lang/gcc/pkg-descr
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2018-10-10 21:45:21 UTC
Good observation, thank you!

How about if we remove the reference to a specific version altogether
and talk about the "default version of GCC in the Ports Collection"?
Comment 2 freebsd 2018-10-10 23:50:02 UTC
Created attachment 198021 [details]
Remove the stale reference to GCC version

Removing the version number entirely would also fix the problem, and would be easier to maintain in the future. I've included a new patch that reflects this approach.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-10-13 07:17:39 UTC
A commit references this bug:

Author: gerald
Date: Sat Oct 13 07:16:58 UTC 2018
New revision: 481962
URL: https://svnweb.freebsd.org/changeset/ports/481962

Log:
  Avoid referencing the concrete version number of the port pulled in
  via this meta-port.

  PR:		232162
  Submitted by:	freebsd@mcwest.org

Changes:
  head/lang/gcc/pkg-descr
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-10-13 07:23:46 UTC
A commit references this bug:

Author: gerald
Date: Sat Oct 13 07:23:38 UTC 2018
New revision: 481964
URL: https://svnweb.freebsd.org/changeset/ports/481964

Log:
  Bump PORTREVISION for the change to pkg-descr in r481962.

  PR:		232162

Changes:
  head/lang/gcc/Makefile
Comment 5 Gerald Pfeifer freebsd_committer freebsd_triage 2018-10-13 07:25:05 UTC
Thank you for both the report and proposing a patch!