# $FreeBSD$ PORTNAME= mariadb-connector-c PORTVERSION= 3.0.2 PORTREVISION= 1 CATEGORIES= databases ipv6 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 BROKEN_armv6= fails to configure: CMake Error: Generator: execution of make failed BROKEN_powerpc64= fails to compile: my_stmt_codec.c: error: invalid use of void expression CONFLICTS_INSTALL= mariadb[0-9]*-client-* \ mariadb102-server-* \ mysql[0-9]*-client-* \ percona[0-9]*-client-* USES= cmake compiler:c++11-lib iconv:translit ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SITESDIR= mariadb/connector-c-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/mysql LIB_DEPENDS= libcurl.so:ftp/curl CMAKE_ARGS+= -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DWITH_EXTERNAL_ZLIB="YES" .include