Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 07:30:25 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368423 - head/databases/xtrabackup
Message-ID:  <201409180730.s8I7UPWK064702@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Thu Sep 18 07:30:24 2014
New Revision: 368423
URL: http://svnweb.freebsd.org/changeset/ports/368423
QAT: https://qat.redports.org/buildarchive/r368423/

Log:
  - Make both cmake and autotools build dependencies only
  - Merge MASTER_SITES and MASTER_SITE_SUBDIR

Modified:
  head/databases/xtrabackup/Makefile

Modified: head/databases/xtrabackup/Makefile
==============================================================================
--- head/databases/xtrabackup/Makefile	Thu Sep 18 07:20:06 2014	(r368422)
+++ head/databases/xtrabackup/Makefile	Thu Sep 18 07:30:24 2014	(r368423)
@@ -5,7 +5,7 @@ PORTNAME=	xtrabackup
 PORTVERSION=	2.1.7
 PORTREVISION=	1
 CATEGORIES=	databases
-MASTER_SITES=	http://www.percona.com/downloads/%SUBDIR%/
+MASTER_SITES=	http://www.percona.com/downloads/XtraBackup/XtraBackup-${PORTVERSION}/source/
 DISTNAME=	percona-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
 DISTFILES=	percona-xtrabackup-${PORTVERSION}.tar.gz
 EXTRACT_ONLY=	percona-xtrabackup-${PORTVERSION}.tar.gz
@@ -15,8 +15,9 @@ COMMENT=	OpenSource version of InnoDB ba
 
 LICENSE=	GPLv2
 
-# quilt is requiered by build.sh
+# quilt is required by build.sh
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
+		cmake:${PORTSDIR}/devel/cmake \
 		quilt:${PORTSDIR}/devel/quilt \
 		bison:${PORTSDIR}/devel/bison
 LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
@@ -25,11 +26,7 @@ RUN_DEPENDS=	p5-DBD-mysql>=0:${PORTSDIR}
 		qpress:${PORTSDIR}/archivers/qpress
 
 # autotool is in use for 5.1 builds
-USE_AUTOTOOLS=	automake autoheader autoconf aclocal libtoolize
-# MySQL 5.5 using CMAKE
-USES=		cmake iconv gettext gmake libtool perl5
-
-MASTER_SITE_SUBDIR=	XtraBackup/XtraBackup-${PORTVERSION}/source/
+USES=		autoreconf:build gettext gmake iconv libtool perl5
 
 PLIST_FILES=	bin/xtrabackup bin/xtrabackup_55 bin/xtrabackup_56 bin/xbstream \
 		bin/innobackupex bin/xbcrypt
@@ -53,14 +50,4 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/xbcrypt ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/innobackupex ${STAGEDIR}${PREFIX}/bin
 
-# autoconf is running by build.sh
-do-configure:
-run-autotools-aclocal:
-run-autotools-automake:
-run-autotools-autoconf:
-run-autotools-autoheader:
-run-autotools-libtoolize:
-patch-autotools-libtool:
-	@${TRUE}
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409180730.s8I7UPWK064702>