summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/zstd/Makefile4
-rw-r--r--archivers/zstd/distinfo11
-rw-r--r--archivers/zstd/patches/patch-lib_Makefile18
3 files changed, 26 insertions, 7 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 35e2d007935..3f2408d1a99 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2016/12/16 13:30:36 mef Exp $
+# $NetBSD: Makefile,v 1.5 2017/02/22 11:56:26 wiz Exp $
-DISTNAME= zstd-1.1.2
+DISTNAME= zstd-1.1.3
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index e0ef7d60762..6acc0246343 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2016/12/16 13:30:36 mef Exp $
+$NetBSD: distinfo,v 1.6 2017/02/22 11:56:26 wiz Exp $
-SHA1 (zstd-1.1.2.tar.gz) = 2b3994df8c2384537b18ad6cf66cb8311daa1d6d
-RMD160 (zstd-1.1.2.tar.gz) = ac6176ee087cddcbeb74141d66767df6d10cd14e
-SHA512 (zstd-1.1.2.tar.gz) = 1fcd5731b63bfa7d722d42c858a886561f2167ef9afed370a6e9cb8a13327a09eb3a1f46b09d31e701d7043a3614f33f8e76ef1ca0696601c6403fbe173a8708
-Size (zstd-1.1.2.tar.gz) = 769017 bytes
+SHA1 (zstd-1.1.3.tar.gz) = 6f6650eb3535bdbdbad01e8a88389e5002aaf3eb
+RMD160 (zstd-1.1.3.tar.gz) = 02f28da7f5974bc1f148ceae3b2b4ae6b8c1d9cd
+SHA512 (zstd-1.1.3.tar.gz) = 6c025ca3899d0487bf2b4a9b333b47c6e2bb525ae3fc7328cc040f50d6f3c53a1bb9bd17e104352ddbc7b96b240c250c60d5be99e0a980332dbd3c518b2a81e1
+Size (zstd-1.1.3.tar.gz) = 845902 bytes
+SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685
diff --git a/archivers/zstd/patches/patch-lib_Makefile b/archivers/zstd/patches/patch-lib_Makefile
new file mode 100644
index 00000000000..1fc62296627
--- /dev/null
+++ b/archivers/zstd/patches/patch-lib_Makefile
@@ -0,0 +1,18 @@
+$NetBSD: patch-lib_Makefile,v 1.4 2017/02/22 11:56:26 wiz Exp $
+
+Fix pkgconfig installation path.
+
+--- lib/Makefile.orig 2017-02-06 17:17:34.000000000 +0000
++++ lib/Makefile
+@@ -111,11 +111,7 @@ DESTDIR ?=
+ LIBDIR ?= $(PREFIX)/lib
+ INCLUDEDIR ?= $(PREFIX)/include
+
+-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
+-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
+-else
+ PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
+-endif
+
+ INSTALL_LIB ?= $(INSTALL) -m 755
+ INSTALL_DATA ?= $(INSTALL) -m 644