Changeset View
Changeset View
Standalone View
Standalone View
databases/mariadb101-client/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mariadb | PORTNAME= mariadb | ||||
PKGNAMESUFFIX= 100-client | PKGNAMESUFFIX= 101-client | ||||
COMMENT= Multithreaded SQL database (client) | COMMENT= Multithreaded SQL database (client) | ||||
LICENSE+= LGPL21 | MASTERDIR= ${.CURDIR}/../mariadb101-server | ||||
MASTERDIR= ${.CURDIR}/../mariadb100-server | |||||
FILESDIR= ${.CURDIR}/files | FILESDIR= ${.CURDIR}/files | ||||
PATCHDIR= ${.CURDIR}/files | PATCHDIR= ${.CURDIR}/files | ||||
PLIST= ${.CURDIR}/pkg-plist | PLIST= ${.CURDIR}/pkg-plist | ||||
CMAKE_ARGS+= -DWITHOUT_SERVER=1 | CMAKE_ARGS+= -DWITHOUT_SERVER=1 -DWITH_WSREP=0 | ||||
koobs: Please make these consistent across ports. You use mysql*-client-* elsewhere. | |||||
INSTALL_TARGET= install | |||||
Not Done Inline ActionsThat's the intention. Adding portname[0-9]* for all ports as this quenches portlint warnings. brnrd: That's the intention. Adding portname[0-9]* for all ports as this quenches portlint warnings. | |||||
USE_LDCONFIG= ${PREFIX}/lib/mysql | USE_LDCONFIG= ${PREFIX}/lib/mysql | ||||
Done Inline ActionsPlease make these consistent across ports koobs: Please make these consistent across ports | |||||
CLIENT_ONLY= yes | CLIENT_ONLY= yes | ||||
post-install: | post-install: | ||||
${RM} ${STAGEDIR}${PREFIX}/share/aclocal/mysql.m4 | ${RM} ${STAGEDIR}${PREFIX}/share/aclocal/mysql.m4 | ||||
${RM} -r ${STAGEDIR}${PREFIX}/share/pkgconfig | |||||
. for b in mysql mysqladmin mysqlbinlog mysqlcheck mysqldump \ | |||||
mysqlimport mysqlshow mysqlslap | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b} | |||||
. endfor | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient.so.18 | |||||
# Fix https://mariadb.atlassian.net/browse/MDEV-9388 | |||||
@${REINPLACE_CMD} 's/-l-pthread/-lpthread/' ${STAGEDIR}${PREFIX}/bin/mysql_config | |||||
.include "${MASTERDIR}/Makefile" | .include "${MASTERDIR}/Makefile" |
Please make these consistent across ports. You use mysql*-client-* elsewhere.