1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/databases/percona55-client/Makefile
Mark Linimon bf43557044 For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.

This is part two of a multipart commit to bring armv7 ports to parity
with armv6.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com -exp run
2017-11-30 06:13:34 +00:00

42 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= percona
PKGNAMESUFFIX= 55-client
COMMENT= Multithreaded SQL database (client)
MASTERDIR= ${.CURDIR}/../percona55-server
PKGMESSAGE= ${.CURDIR}/pkg-message
PATCHDIR= ${.CURDIR}/files
PLIST= ${.CURDIR}/pkg-plist
CONFLICTS_INSTALL= mysql*-client-* \
mariadb*-client-* \
percona5[0-46-9]-client-*
CMAKE_ARGS+= -DWITHOUT_SERVER=1
CMAKE_ARGS+= -DENABLE_DTRACE=OFF
USE_LDCONFIG= ${PREFIX}/lib/mysql
BROKEN_aarch64= Fails to build: error: passing int to parameter of incompatible type va_list
BROKEN_armv6= Fails to build: error: passing int to parameter of incompatible type va_list
BROKEN_armv7= Fails to build: error: passing int to parameter of incompatible type va_list
MANPAGES= comp_err.1 msql2mysql.1 mysql.1 mysql_config.1 mysql_find_rows.1 \
mysql_waitpid.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 \
mysqlcheck.1 mysqldump.1 mysqlimport.1 mysqlshow.1 mysqlslap.1
CLIENT_ONLY= yes
# Percona renamed the libraries, until we decide how to deal with it create some symlinks
# to prevent breaking installed ports.
post-install:
${LN} -s libperconaserverclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so
${LN} -s libperconaserverclient.so.18 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.18
${LN} -s libperconaserverclient_r.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
${LN} -s libperconaserverclient_r.so.18 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.18
.include "${MASTERDIR}/Makefile"