Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 04:16:16 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493486 - head/databases/mysql57-server
Message-ID:  <201902210416.x1L4GGkM034488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Feb 21 04:16:16 2019
New Revision: 493486
URL: https://svnweb.freebsd.org/changeset/ports/493486

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

Modified:
  head/databases/mysql57-server/Makefile

Modified: head/databases/mysql57-server/Makefile
==============================================================================
--- head/databases/mysql57-server/Makefile	Thu Feb 21 04:14:14 2019	(r493485)
+++ head/databases/mysql57-server/Makefile	Thu Feb 21 04:16:16 2019	(r493486)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902210416.x1L4GGkM034488>