diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-23 16:49:33 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-12-23 16:49:33 +0000 |
commit | f623a7d6a17462746134d6e1c1d5c196ce5c288a (patch) | |
tree | 926788c30ee7cb060357b153df17fb557d543d0b /archivers | |
parent | 0ba55b5106f2e8eb246a0484cd7e51a714bd6ce0 (diff) | |
download | ports-f623a7d6a17462746134d6e1c1d5c196ce5c288a.tar.gz ports-f623a7d6a17462746134d6e1c1d5c196ce5c288a.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zstd/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile index f8d8b6220a3e..f2f8de4855ad 100644 --- a/archivers/zstd/Makefile +++ b/archivers/zstd/Makefile @@ -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 @@ -25,6 +29,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 |