aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-08-03 08:17:01 +0800
committeryuri <yuri@FreeBSD.org>2018-08-03 08:17:01 +0800
commit5c122c809cd95250b39df6ee4347c7c60b8cb12a (patch)
tree8937dce9c1e80f942affad746cb8b13c957fa9fe /archivers
parent9d680c475011d277724cc8c0f85a6b051244607c (diff)
downloadfreebsd-ports-gnome-5c122c809cd95250b39df6ee4347c7c60b8cb12a.tar.gz
freebsd-ports-gnome-5c122c809cd95250b39df6ee4347c7c60b8cb12a.tar.zst
freebsd-ports-gnome-5c122c809cd95250b39df6ee4347c7c60b8cb12a.zip
archivers/py-zstandard: Unbreak
The latest py-zstandard update broke their option '--system-zstd' that the port used. Somehow, it didn't fail for me in poudriere. It only failed for me now when I updated the whole ports tree. Reported by: fallout
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-zstandard/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index d66b50ee9f3d..f99f6327d86c 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -2,6 +2,7 @@
PORTNAME= zstandard
DISTVERSION= 0.9.1
+PORTREVISION= 2
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,14 +12,12 @@ COMMENT= Zstandard bindings for Python, a full-featured version
LICENSE= BSD2CLAUSE
-BROKEN= fails to build
-
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
-LIB_DEPENDS= libzstd.so:archivers/zstd
+#LIB_DEPENDS= libzstd.so:archivers/zstd # system-zstd is broken, see comment below
USES= localbase python
USE_PYTHON= distutils autoplist
-PYDISTUTILS_BUILDARGS= --system-zstd
+#PYDISTUTILS_BUILDARGS= --system-zstd # broken: https://github.com/indygreg/python-zstandard/issues/52
post-install:
@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd.so _zstd_cffi.so