aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-04-09 17:31:16 +0800
committeryuri <yuri@FreeBSD.org>2018-04-09 17:31:16 +0800
commitf755265c49c1349c29dfc2de7544ab68decf3aaa (patch)
tree4ace9c8e1b2512a78babecd114f70b31ddbb1ffa /archivers
parent40d0bb420dfe0db86aec040685ee3d075f191689 (diff)
downloadfreebsd-ports-gnome-f755265c49c1349c29dfc2de7544ab68decf3aaa.tar.gz
freebsd-ports-gnome-f755265c49c1349c29dfc2de7544ab68decf3aaa.tar.zst
freebsd-ports-gnome-f755265c49c1349c29dfc2de7544ab68decf3aaa.zip
archivers/py-zstandard: Change to use the external zstandard library
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-zstandard/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index f9f065c3500b..620474903a54 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -2,6 +2,7 @@
PORTNAME= zstandard
DISTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,11 @@ COMMENT= Zstandard bindings for Python, a full-featured version
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${FLAVOR}
+LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= python
+USES= localbase python
USE_PYTHON= distutils autoplist
-#PYDISTUTILS_BUILDARGS= --system-zstd # fails: https://github.com/indygreg/python-zstandard/issues/43
+PYDISTUTILS_BUILDARGS= --system-zstd
post-install:
@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd.so _zstd_cffi.so