1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/databases/xtrabackup/Makefile
Tobias C. Berner 5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +00:00

40 lines
1.3 KiB
Makefile

# Created by: Alex Samorukov <samm@os2.kiev.ua>
# $FreeBSD$
PORTNAME= xtrabackup
PORTVERSION= 2.3.6
CATEGORIES= databases
MASTER_SITES= https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PORTVERSION}/source/tarball/
DISTNAME= percona-${PORTNAME}-${PORTVERSION}
MAINTAINER= aleksandr.kuzminsky@percona.com
COMMENT= OpenSource version of InnoDB backup with support of Percona extensions
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
# quilt is required by build.sh
BUILD_DEPENDS= bash:shells/bash \
cmake:devel/cmake \
bison:devel/bison \
xxd:editors/vim-lite
LIB_DEPENDS= libev.so:devel/libev \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql \
qpress:archivers/qpress
BROKEN_armv6= fails to compile: cannot combine with previous 'type-name' declaration specifier
BROKEN_mips64= fails to compile: 'fpsetmask' was not declared in this scope
BROKEN_powerpc64= fails to link: ld: final link failed: Bad value
# autotool is in use for 5.1 builds
USES= alias autoreconf:build cpe gettext cmake:noninja libtool perl5 shebangfix
CPE_VENDOR= percona
SHEBANG_FILES= storage/innobase/xtrabackup/xbcloud_osenv.sh
PLIST_FILES= bin/xtrabackup bin/xbstream bin/innobackupex bin/xbcrypt \
bin/xbcloud bin/xbcloud_osenv
.include <bsd.port.mk>