summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjperkin <jperkin>2017-04-20 13:45:52 +0000
committerjperkin <jperkin>2017-04-20 13:45:52 +0000
commitb8b9da639623396d929d09656574fceb2ad61d93 (patch)
tree83c0e461e1560517756d37a763293737d29b81bf /archivers
parent5437d041ea108dd5b2486140b9e428aa747d4431 (diff)
downloadpkgsrc-b8b9da639623396d929d09656574fceb2ad61d93.tar.gz
Needs zlib. Use ${INSTALL}. Fix "install" target. Now works on SunOS.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/zstd/Makefile4
-rw-r--r--archivers/zstd/distinfo3
-rw-r--r--archivers/zstd/patches/patch-Makefile22
3 files changed, 27 insertions, 2 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index a2c4329c094..ef2551a10c2 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/04/11 14:23:34 mef Exp $
+# $NetBSD: Makefile,v 1.7 2017/04/20 13:45:52 jperkin Exp $
DISTNAME= zstd-1.1.4
CATEGORIES= archivers
@@ -13,8 +13,10 @@ LICENSE= modified-bsd
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES+= c c++
MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+MAKE_FLAGS+= INSTALL=${INSTALL:Q}
MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index ba2551d6c3e..8d23d046f5f 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2017/04/11 14:23:34 mef Exp $
+$NetBSD: distinfo,v 1.8 2017/04/20 13:45:52 jperkin Exp $
SHA1 (zstd-1.1.4.tar.gz) = 42ebbcaae6ef38ae3a5955d9e84bc5984dbba7a1
RMD160 (zstd-1.1.4.tar.gz) = f6b1a8308b1dc4f4b5831f4787e431e57303246a
SHA512 (zstd-1.1.4.tar.gz) = 8d18635494a584d13ab29645af5f20b6c1d2fb72895854c381c783b6fda0950575632d04a72e6901ae178535d5f6319ab25fdb097ef8c6db559d60acf558a437
Size (zstd-1.1.4.tar.gz) = 923381 bytes
+SHA1 (patch-Makefile) = 8f7ce39f581b2f0c880c5e2f9458903436bcc914
SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
new file mode 100644
index 00000000000..beb98c7f301
--- /dev/null
+++ b/archivers/zstd/patches/patch-Makefile
@@ -0,0 +1,22 @@
+$NetBSD: patch-Makefile,v 1.4 2017/04/20 13:45:52 jperkin Exp $
+
+Enable the "install" target on all OS.
+
+--- Makefile.orig 2017-03-16 00:31:40.000000000 +0000
++++ Makefile
+@@ -104,7 +104,6 @@ clean:
+ #------------------------------------------------------------------------------
+ # make install is validated only for Linux, OSX, Hurd and some BSD targets
+ #------------------------------------------------------------------------------
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD))
+ HOST_OS = POSIX
+ .PHONY: install uninstall travis-install clangtest gpptest armtest usan asan uasan
+
+@@ -258,7 +257,6 @@ gpp6install: apt-add-repo
+ clang38install:
+ APT_PACKAGES="clang-3.8" $(MAKE) apt-install
+
+-endif
+
+
+ ifneq (,$(filter MSYS%,$(shell uname)))