ports/databases/qt6-base_sqldriver/Makefile
Jason E. Hale 359c8eed18 Qt6: Update to 6.7.1
As a patch release, Qt 6.7.1 does not introduce any new features but
contains more than 400 bug fixes, security updates, and other
improvements to the top of the Qt 6.7.0 release. See more information
about the most important changes and bug fixes from Qt 6.7.1 release
note.

Enable building of databases/qt6-base_sqldriver@mysql with MariaDB. [1]

Fix build of www/qt6-webengine with the SNDIO option enabled. [2]

Announcement: https://www.qt.io/blog/qt-6.7.1-released
Release note: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.7.1/release-note.md

PR:		277922 [1], 279180 [2]
Reported by:	vvd [1], Benjamin Takacs <nimaje+fbz@bureaucracy.de> [2]
MFH:		2024Q2
Security:	f5fa174d-19de-11ef-83d8-4ccc6adda413
2024-05-24 21:55:22 -04:00

33 lines
798 B
Makefile

# This should be sub-packages...
PORTNAME= base
DISTVERSION= ${QT6_VERSION}
CATEGORIES= databases
PKGNAMEPREFIX= qt6-
PKGNAMESUFFIX= _sqldriver-${FLAVOR}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt base (${FLAVOR} sqldriver)
FLAVORS= sqlite mysql odbc psql
FLAVOR?= sqlite
WRKSRC_SUBDIR= src/plugins/sqldrivers
USES= cmake compiler:c++17-lang pkgconfig qt-dist:6 \
${${FLAVOR}_USES}
USE_QT= base
CMAKE_ARGS= -DCMAKE_PROJECT_NAME=Qt6${FLAVOR}
CMAKE_ON= FEATURE_sql_${FLAVOR} ${${FLAVOR}_CMAKE_ON}
CMAKE_OFF= ${FLAVORS:N${FLAVOR}:S/^/FEATURE_sql_/} \
FEATURE_sql_ibase
mysql_USES= mysql
odbc_LIB_DEPENDS= libodbc.so:databases/unixODBC
psql_USES= pgsql
sqlite_USES= sqlite:3
sqlite_CMAKE_ON= QT_FEATURE_system_sqlite
${FLAVOR}_PLIST= ${.CURDIR}/pkg-plist.${FLAVOR}
.include <bsd.port.mk>