Bug 233592 - net/megatools: fix build with GCC-based architectures
Summary: net/megatools: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 23:59 UTC by Piotr Kubaj
Modified: 2018-11-29 11:08 UTC (History)
2 users (show)

See Also:
max: maintainer-feedback+


Attachments
patch (454 bytes, patch)
2018-11-27 23:59 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2018-11-27 23:59:58 UTC
Created attachment 199621 [details]
patch

Megatools dev doesn't state what GCC version is minimum for building this megatools, but they imply at least 5.4 should be used:
https://github.com/megous/megatools/issues/381

Add USES=compiler:c11, since the port doesn't build with base GCC.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-29 11:08:29 UTC
A commit references this bug:

Author: linimon
Date: Thu Nov 29 11:07:58 UTC 2018
New revision: 486166
URL: https://svnweb.freebsd.org/changeset/ports/486166

Log:
  Megatools dev doesn't state what GCC version is the minimum required
  for building, but they imply at least 5.4 should be used:

  https://github.com/megous/megatools/issues/381

  Thus, add USES=compiler:c11, since the port doesn't build with base GCC.

  PR:		233592
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/net/megatools/Makefile