Bug 234580

Summary: databases/percona57-server: Fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Felder <feld>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (feld)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-01-02 19:56:33 UTC
Created attachment 200724 [details]
patch

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 freebsd_triage 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

Log:
  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)

Changes:
  head/databases/percona57-server/Makefile
  head/databases/percona57-server/files/patch-cmake_os_FreeBSD.cmake