databases/mysql-connector-c: Mark DEPRECATED
Since mysql 5.6 the C Connector is distributed as part of the
mysql-client packages and is no longer distributed as a different
package. The requirement of this package is no longer valid as
mysql55-{client|server} packages are in the tree.
gcc 4.2 and related codes have been removed.
This commit is contained in:
parent
9f69094b52
commit
2d9c04a371
@ -12,18 +12,18 @@ WWW= https://dev.mysql.com/downloads/c-api/
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= C Connector is included in mysql packages since 5.6
|
||||
EXPIRATION_DATE= 2023-03-31
|
||||
|
||||
USES= cmake compiler:features mysql ssl
|
||||
CMAKE_ARGS+= -DOPENSSL_INCLUDE_DIR="${OPENSSLINC}"
|
||||
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
CMAKE_ARGS+= -DOPENSSL_INCLUDE_DIR="${OPENSSLINC}"
|
||||
|
||||
PLIST_SUB+= PORTVERSION=${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386" && ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
|
||||
CFLAGS+= -march=i586
|
||||
.endif
|
||||
|
||||
.if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-vio_viosslfactories.c \
|
||||
${FILESDIR}/extra-patch-mysys__ssl_my__aes__openssl.cc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user