4 PORTNAME= mysql-connector-c
7 MASTER_SITES= MYSQL/Connector-C
8 DISTNAME= ${PORTNAME}-${PORTVERSION}-src
10 MAINTAINER= bofh@FreeBSD.org
11 COMMENT= MySQL database connector for C
14 LICENSE_FILE= ${WRKSRC}/COPYING
16 BROKEN_SSL= openssl111
17 BROKEN_SSL_REASON_openssl111= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st')
19 USES= cmake compiler:features mysql ssl
20 CMAKE_ARGS+= -DOPENSSL_INCLUDE_DIR="${OPENSSLINC}"
21 USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
23 PLIST_SUB+= PORTVERSION=${PORTVERSION}
25 .include <bsd.port.pre.mk>
27 .if ${ARCH} == "i386" && ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
31 .if ${SSL_DEFAULT} == base
32 BROKEN_FreeBSD_12= incomplete definition of type 'struct dh_st'
33 BROKEN_FreeBSD_13= incomplete definition of type 'struct dh_st'
34 CMAKE_ARGS+= -DWITH_SSL="system"
36 CMAKE_ARGS+= -DWITH_SSL="${OPENSSLBASE}"
39 .include <bsd.port.post.mk>