summaryrefslogtreecommitdiff
path: root/archivers/zstd/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-10 07:37:19 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-10 07:37:19 +0800
commit454e3c91ae9105a9af1939c9632424083ed3bbdb (patch)
tree18f7c28e9870533a988376a2052848f3543b8da9 /archivers/zstd/Makefile
parentlang/gcc12-devel: Update to 12.2.1.s20230408 (diff)
archivers/zstd: Fix static library
- Bump PORTREVISION for package change It fixes the build of dependent ports, e.g. devel/qt6-base.
Diffstat (limited to 'archivers/zstd/Makefile')
-rw-r--r--archivers/zstd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index ee47645d3e85..b1d024ad7655 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= zstd
PORTVERSION= 1.5.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/
@@ -20,6 +20,7 @@ USES= gmake localbase:ldflags tar:zst
ALL_TARGET= default
BINARY_ALIAS= gmd5sum=md5sum
+CFLAGS+= -fPIC
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \