summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-06-03 06:43:42 +0000
committernia <nia@pkgsrc.org>2021-06-03 06:43:42 +0000
commit065fe7e05513393b0750c68e7c8f50043d5520d9 (patch)
treee32e36cd81df41a0202caf781343a7e640819e8c
parent17512dc22a5ccbd4e1a81c3c1e36fddd73fa7a70 (diff)
downloadpkgsrc-065fe7e05513393b0750c68e7c8f50043d5520d9.tar.gz
zstd: needs librt on SunOS, PR pkg/56225
-rw-r--r--archivers/zstd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 6ed5adc2e99..5fb02460cfe 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2021/05/20 12:23:24 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2021/06/03 06:43:42 nia Exp $
DISTNAME= zstd-1.5.0
CATEGORIES= archivers
@@ -43,6 +43,8 @@ MAKE_FLAGS+= INSTALL=${INSTALL:Q}
BUILD_TARGET= allmost
TEST_TARGET= test
+LDFLAGS.SunOS+= -lrt
+
.include "../../archivers/lz4/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"