mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
84cc7ae5a0
Release notes: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-26.html Sponsored by: Netzkommune GmbH
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: "Mahdi Mokhtari <mokhi64@gmail.com>"
|
|
|
|
PORTNAME= mysql
|
|
PORTREVISION= 0
|
|
PKGNAMESUFFIX= 80-client
|
|
|
|
COMMENT= Multithreaded SQL database (client)
|
|
|
|
LICENSE+= LGPL21
|
|
|
|
MASTERDIR= ${.CURDIR}/../mysql80-server
|
|
|
|
PKGMESSAGE= ${.CURDIR}/pkg-message
|
|
PATCHDIR= ${MASTERDIR}/files
|
|
PLIST= ${.CURDIR}/pkg-plist
|
|
|
|
CONFLICTS_INSTALL= mysql8[1-9]-client-* \
|
|
mysql[0-79][0-9]-client-* \
|
|
mariadb[0-9][0-9]-client-* \
|
|
percona[0-9][0-9]-client-*
|
|
|
|
CMAKE_ARGS+= -DWITHOUT_SERVER=1 -DINSTALL_SUPPORTFILESDIR=0
|
|
|
|
USE_LDCONFIG+= ${PREFIX}/lib/mysql
|
|
|
|
MMAN1= comp_err.1 lz4_decompress.1 mysql.1 mysql_config.1 mysql_config_editor.1 \
|
|
mysqladmin.1 mysqlbinlog.1 mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlman.1 \
|
|
mysqlpump.1 mysqlshow.1 mysqlslap.1 perror.1 zlib_decompress.1
|
|
|
|
CLIENT_ONLY= yes
|
|
|
|
OPTIONS_GROUP+= PLUGINS
|
|
PLUGINS_DESC= Default Client Plugins
|
|
OPTIONS_GROUP_PLUGINS= SASLCLIENT
|
|
SASLCLIENT_DESC= SASL client plugin module
|
|
SASLCLIENT_CMAKE_BOOL= WITH_AUTHENTICATION_LDAP
|
|
SASLCLIENT_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
|
SASLCLIENT_USE= OPENLDAP=yes
|
|
OPTIONS_DEFAULT+= SASLCLIENT
|
|
OPTIONS_SUB= yes
|
|
|
|
# issue 166367: adding symlinks for back-compatibility with ${lib}_r
|
|
post-install:
|
|
@${LN} -s libmysqlclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
|
|
@${LN} -s libmysqlclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
|
|
@${LN} -s libmysqlclient.so.21 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.21
|
|
|
|
.include "${MASTERDIR}/Makefile"
|