mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
d1e9ddfd83
All of the MariaDB releases contain the same ConnectorName CMake module, and all of those copies of the module contain the same syntax error. CMake < 3.20 ignores this and treats end() as endif(), but this is an error in the upcoming version. Specifically NOT bumping PORTREVISION because this is a build-only fix that has no effect on the package.
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
PORTNAME= mariadb-connector-c
|
|
PORTVERSION= 3.1.10
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
|
|
http://mirrors.supportex.net/${SITESDIR}/ \
|
|
http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \
|
|
http://gd.tuwien.ac.at/db/${SITESDIR}/ \
|
|
http://mirrors.fe.up.pt/pub/${SITESDIR}/ \
|
|
http://mirror.de.gsnw.de:56431/${SITESDIR}/ \
|
|
http://mirror.layerjet.com/${SITESDIR}/ \
|
|
http://mirror.switch.ch/mirror/${SITESDIR}/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= MariaDB database connector for C
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
CONFLICTS_INSTALL= mariadb[0-9]*-client-* \
|
|
mariadb102-server-* \
|
|
mysql[0-9]*-client-* \
|
|
percona[0-9]*-client-*
|
|
|
|
USES= cmake:insource compiler:c++11-lib iconv:translit ssl
|
|
USE_LDCONFIG= ${PREFIX}/lib/mariadb
|
|
SITESDIR= mariadb/connector-c-${PORTVERSION}
|
|
DOCSDIR= ${PREFIX}/share/doc/mysql
|
|
|
|
CMAKE_ARGS+= -DCOMPILATION_COMMENT="FreeBSD Ports" \
|
|
-DWITH_EXTERNAL_ZLIB="YES"
|
|
|
|
.include <bsd.port.mk>
|