Summary: | databases/mysql57-client: fix build with GCC-based architectures | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Mahdi Mokhtari <mmokhi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | linimon, pkubaj | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(mmokhi) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: linimon Date: Sat Dec 22 01:06:06 UTC 2018 New revision: 488036 URL: https://svnweb.freebsd.org/changeset/ports/488036 Log: Fix port not compiling on GCC-based architectures, because MySQL believed only that Clang was used on FreeBSD. PR: 234172 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/databases/mysql57-client/Makefile A commit references this bug: Author: mmokhi Date: Sat Dec 22 17:16:57 UTC 2018 New revision: 488110 URL: https://svnweb.freebsd.org/changeset/ports/488110 Log: databases/mysql57-client: Fix the build with GCC-based architectures This patch adds a condition to FreeBSD part of MySQL CMake-scripts to recognize gcc as well as Clang, while taking care of Unsupported compilers too. This is an enhancement on the initial patch by Piotr Kubaj <pkubaj@anongoth.pl> that committed by linimon on r488087. PR: 234172 Sponsored by: The FreeBSD Foundation Changes: head/databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake |
Created attachment 200277 [details] patch This port doesn't compile on GCC architectures, because MySQL believes only Clang is used on FreeBSD. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.