Changeset View
Changeset View
Standalone View
Standalone View
databases/percona56-server/Makefile
Context not available. | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME?= percona | PORTNAME?= percona | ||||
DISTVERSION= 5.6.27-75.0 | DISTVERSION= 5.6.29-76.2 | ||||
PORTREVISION?= 0 | PORTREVISION?= 0 | ||||
CATEGORIES= databases ipv6 | CATEGORIES= databases ipv6 | ||||
MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-${DISTVERSION}/source/tarball/ | MASTER_SITES= http://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-${DISTVERSION}/source/tarball/ | ||||
Context not available. | |||||
SLAVEDIRS= databases/percona56-client | SLAVEDIRS= databases/percona56-client | ||||
USES= bison cmake perl5 shebangfix | USES= bison cmake perl5 shebangfix | ||||
OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED | OPTIONS_DEFINE= OPENSSL FASTMTX INNODBMEMCACHED TOKUDB | ||||
OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED | OPTIONS_DEFAULT= OPENSSL INNODBMEMCACHED | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
FASTMTX_DESC= Replace mutexes with spinlocks | FASTMTX_DESC= Replace mutexes with spinlocks | ||||
INNODBMEMCACHED_DESC= InnoDB Memcached plugin | INNODBMEMCACHED_DESC= InnoDB Memcached plugin | ||||
TOKUDB_DESC= TokuDB Engine (experimental) | |||||
TOKUDB_EXTRA_PATCHES=${PATCHDIR}/extra-tokudb.patch | |||||
mat: This should be named "extrapatch-tokudb" to be more consistent with the rest of the tree. | |||||
INNODBMEMCACHED_CMAKE_ON=-DWITH_INNODB_MEMCACHED=1 | INNODBMEMCACHED_CMAKE_ON=-DWITH_INNODB_MEMCACHED=1 | ||||
DATADIR= ${PREFIX}/share/mysql | DATADIR= ${PREFIX}/share/mysql | ||||
Not Done Inline ActionsThat's not needed any more. (Sorry, should have said earlier.) mat: That's not needed any more. (Sorry, should have said earlier.) | |||||
Context not available. | |||||
# MySQL-Server part | # MySQL-Server part | ||||
.if !defined(CLIENT_ONLY) | .if !defined(CLIENT_ONLY) | ||||
.if ${PORT_OPTIONS:MTOKUDB} | |||||
CMAKE_ARGS+= -DUSE_CTAGS=0 | |||||
.if ${ARCH} != "amd64" | |||||
BROKEN= TokuDB engine does not compile on ${ARCH} | |||||
.endif | |||||
Not Done Inline ActionsI think these should be set using helpers and sooner in the Makefile, for example: TOKUDB_CMAKE_ON= -DUSE_CTAGS=0 TOKUDB_VARS= ONLY_FOR_ARCH=amd64 ONLY_FOR_ARCH_REASON= TokuDB engine does not compile on ${ARCH} The ONLY_FOR_ARCH_REASON can be set regardless as it's a no-op if ONLY_FOR_ARCH is not defined. (while there, you could convert the two options blocs just before to helpers too.) mat: I think these should be set using helpers and sooner in the Makefile, for example… | |||||
.endif | |||||
USE_MYSQL= yes | USE_MYSQL= yes | ||||
WANT_MYSQL_VER= 56p | WANT_MYSQL_VER= 56p | ||||
Context not available. |
This should be named "extrapatch-tokudb" to be more consistent with the rest of the tree.