Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2016 17:58:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428583 - head/sysutils/zbackup
Message-ID:  <201612141758.uBEHwWDv038079@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec 14 17:58:31 2016
New Revision: 428583
URL: https://svnweb.freebsd.org/changeset/ports/428583

Log:
  - Fix build with protobuf 3.1.0
  - Bump PORTREVISION for devel/protobuf shlib change
  - While I'm here, add missing USES=ssl

Modified:
  head/sysutils/zbackup/Makefile

Modified: head/sysutils/zbackup/Makefile
==============================================================================
--- head/sysutils/zbackup/Makefile	Wed Dec 14 17:58:27 2016	(r428582)
+++ head/sysutils/zbackup/Makefile	Wed Dec 14 17:58:31 2016	(r428583)
@@ -2,6 +2,7 @@
 
 PORTNAME=	zbackup
 PORTVERSION=	1.4.4
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/zbackup/zbackup/archive/
 DISTNAME=	${PORTVERSION}
@@ -14,7 +15,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf \
 		liblzo2.so:archivers/lzo2
 
-USES=		alias cmake
+USES=		alias cmake ssl
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -23,6 +24,9 @@ OPTIONS_DEFINE=	DOCS
 PLIST_FILES=	bin/zbackup
 PORTDOCS=	README.md
 
+post-patch:
+	@${REINPLACE_CMD} -e 's| CHECK(| ZBACKUP_CHECK(|' ${WRKSRC}/*.cc ${WRKSRC}/*.hh ${WRKSRC}/tests/*/*.cc
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}



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