notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
non port: databases/qt4-mysql-plugin/files

Number of commits found: 2

Saturday, 5 May 2018
20:05 tcberner search for other commits by this committer
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
  use the bool or int C type instead.

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

  (Bug #25597667)



PR:		227813
Reported by:
Original commitRevision:469165 
Thursday, 10 Mar 2016
14:11 rakuco search for other commits by this committer
qt4 sqldrivers: Switch to a proper qmake build, use Makefile.sqldrivers.

We've recently started receiving pkg-fallout emails because qt4-mysql-plugin
is failing to build in HEAD. It turns out we were using some custom-made
Makefile.bsd files to drive the builds, and they did not always register all
dependencies between the files correctly.

Fix it by switching to a proper qmake build that uses the .pro files shipped
with Qt4 itself: they can be used without running the `configure' script
almost as if they were not part of the Qt distribution itself. By doing this
we can stop having our own Makefiles and also stop setting a lot of
variables in the port Makefiles.

While here, consolidate most of the variable setting into a single
Makefile.sqldrivers in devel/qt4 (like we already do for devel/qt5) so that
each of the qt4-*-plugin ports only need to set a few values such as the
plugin name and additional USES or includes that might be necessary.

Bump PORTREVISION because we now include the debug versions of the plugins
in PLIST_FILES when the ports are built with WITH_DEBUG=yes (they were
already shipped before, but not registered in the plists).
Original commitRevision:410751 

Number of commits found: 2