pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zstd Needs zlib. Use ${INSTALL}. Fix "inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c371e6febe86
branches:  trunk
changeset: 361381:c371e6febe86
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Apr 20 13:45:52 2017 +0000

description:
Needs zlib.  Use ${INSTALL}.  Fix "install" target.  Now works on SunOS.

diffstat:

 archivers/zstd/Makefile               |   4 +++-
 archivers/zstd/distinfo               |   3 ++-
 archivers/zstd/patches/patch-Makefile |  22 ++++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (59 lines):

diff -r e1efcd91a6df -r c371e6febe86 archivers/zstd/Makefile
--- a/archivers/zstd/Makefile   Thu Apr 20 13:41:54 2017 +0000
+++ b/archivers/zstd/Makefile   Thu Apr 20 13:45:52 2017 +0000
@@ -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 @@
 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 -r e1efcd91a6df -r c371e6febe86 archivers/zstd/distinfo
--- a/archivers/zstd/distinfo   Thu Apr 20 13:41:54 2017 +0000
+++ b/archivers/zstd/distinfo   Thu Apr 20 13:45:52 2017 +0000
@@ -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 -r e1efcd91a6df -r c371e6febe86 archivers/zstd/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/zstd/patches/patch-Makefile     Thu Apr 20 13:45:52 2017 +0000
@@ -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)))



Home | Main Index | Thread Index | Old Index