aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 23:37:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 23:37:19 +0000
commit454e3c91ae9105a9af1939c9632424083ed3bbdb (patch)
tree18f7c28e9870533a988376a2052848f3543b8da9
parentc2669909e71e945fea1b54177137adc27437832a (diff)
downloadports-454e3c91ae9105a9af1939c9632424083ed3bbdb.tar.gz
ports-454e3c91ae9105a9af1939c9632424083ed3bbdb.zip
archivers/zstd: Fix static library
- Bump PORTREVISION for package change It fixes the build of dependent ports, e.g. devel/qt6-base.
-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}" \