Bug 234580 - databases/percona57-server: Fix build with GCC-based architectures
Summary: databases/percona57-server: 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 Felder
Keywords: needs-qa
Depends on:
Reported: 2019-01-02 19:56 UTC by Piotr Kubaj
Modified: 2019-01-12 23:05 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (feld)
koobs: merge-quarterly?

patch (1.82 KB, patch)
2019-01-02 19:56 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 2019-01-02 19:56:33 UTC
Created attachment 200724 [details]

1. Specifying USES=compiler twice doesn't do anything, remove one USES=compiler.
2. Add -fpermissive to CXXFLAGS to fix build with GCC.
3. Don't return error when GCC is used.

2. and 3. fix build on GCC architectures.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2019-01-12 23:05:47 UTC
A commit references this bug:

Author: linimon
Date: Sat Jan 12 23:05:01 UTC 2019
New revision: 490083
URL: https://svnweb.freebsd.org/changeset/ports/490083

  Fix build on gcc-based architectures by removing the assumption that FreeBSD
  must imply clang.  While here, remove duplicate definition from USES.

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