freebsd-ports/databases/qt4-mysql-plugin/Makefile
Tobias C. Berner 7bcff019f4 databases/qt4-mysql-plugin & databases/qt5-sqldrivers-mysql: fix build against mysql >= 8.0.1.
From the mysql release notes [1]:

  Incompatible Change: The my_bool type is no longer used in MySQL source code.
  Any third-party code that used this type to represent C boolean variables should
  use the bool or int C type instead.

  Note
    The change from my_bool to bool means that the mysql.h header file now requires
    a C++ or C99 compiler to compile.

  (Bug #25597667)

--

[1] https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html

PR:		227813
Reported by:	mikhail.rokhin@gmail.com
2018-05-05 20:05:08 +00:00

13 lines
270 B
Makefile

# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$
PORTREVISION= 4
COMMENT= Qt MySQL database plugin
DB= mysql
USE_MYSQL= yes
CXXFLAGS+= -I${LOCALBASE}/include/mysql
LDFLAGS+= -L${LOCALBASE}/lib/mysql
.include "${.CURDIR:H:H}/devel/qt4/Makefile.sqldrivers"