blob: f35db227116e3c9bc09d623bea051a6d599192d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: gahr
# $FreeBSD$
PORTNAME= mysql-connector-c
PORTVERSION= 6.1.6
CATEGORIES= databases
MASTER_SITES= MYSQL/Connector-C
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= bofh@FreeBSD.org
COMMENT= MySQL database connector for C
LICENSE= GPLv2
USE_MYSQL= 51+
USE_OPENSSL= yes
WITH_OPENSSL_PORT=yes
USES= cmake:outsource compiler:features
CMAKE_ARGS+= -DWITH_SSL=system \
-DOPENSSL_INCLUDE_DIR=${LOCALBASE}/include/openssl
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386" && ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
CFLAGS+= -march=i586
.endif
.include <bsd.port.post.mk>
|