aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql57-server
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-02-21 04:16:16 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-02-21 04:16:16 +0000
commitd6f063aa34550789f4a6a4d62cfaee9816f1de20 (patch)
tree3742f6db6a67c1c1ffe6f7d4e4612672737cbf9a /databases/mysql57-server
parent43626ec1c371c329f104f088d71865576292d398 (diff)
downloadports-d6f063aa34550789f4a6a4d62cfaee9816f1de20.tar.gz
ports-d6f063aa34550789f4a6a4d62cfaee9816f1de20.zip
Similar to other SQL ports, add -fpermissive when compiling using GCC
to fix compilation. PR: 235690 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=493486
Diffstat (limited to 'databases/mysql57-server')
-rw-r--r--databases/mysql57-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql57-server/Makefile b/databases/mysql57-server/Makefile
index 70c43bd81c96..89bbbb0c8887 100644
--- a/databases/mysql57-server/Makefile
+++ b/databases/mysql57-server/Makefile
@@ -159,6 +159,10 @@ CMAKE_ARGS+= -DWITH_SSL=system
CMAKE_ARGS+= -DWITH_SSL=${OPENSSLBASE}
.endif
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+CXXFLAGS+= -fpermissive
+.endif
+
post-extract:
@${RM} -rv ${WRKSRC}/sql/sql_hints.yy.cc ${WRKSRC}/sql/sql_hints.yy.h