Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 16:49:33 +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: r457072 - head/archivers/zstd
Message-ID:  <201712231649.vBNGnXLg064726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 23 16:49:33 2017
New Revision: 457072
URL: https://svnweb.freebsd.org/changeset/ports/457072

Log:
  Add LZ4 option
  
  - Bump PORTREVISION for dependency and package change

Modified:
  head/archivers/zstd/Makefile

Modified: head/archivers/zstd/Makefile
==============================================================================
--- head/archivers/zstd/Makefile	Sat Dec 23 16:49:28 2017	(r457071)
+++ head/archivers/zstd/Makefile	Sat Dec 23 16:49:33 2017	(r457072)
@@ -4,6 +4,7 @@
 PORTNAME=	zstd
 PORTVERSION=	1.3.3
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	archivers
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -14,6 +15,9 @@ LICENSE_COMB=	dual
 LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 
+OPTIONS_DEFINE=	LZ4
+OPTIONS_DEFAULT=LZ4
+
 ALL_TARGET=	default
 MAKE_ARGS=	LIBDIR="${PREFIX}/lib"
 TEST_TARGET=	test
@@ -24,6 +28,9 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 GH_ACCOUNT=	facebook
 USE_GITHUB=	yes
+
+LZ4_LIB_DEPENDS=	liblz4.so:archivers/liblz4
+LZ4_USES=		localbase:ldflags
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|INSTALL_|BSD_&|' ${WRKSRC}/lib/Makefile ${WRKSRC}/programs/Makefile



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