pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/zstd zstd: Use base md5 program where possib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/047c216d9d5f
branches:  trunk
changeset: 446589:047c216d9d5f
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Feb 11 09:29:50 2021 +0000

description:
zstd: Use base md5 program where possible, avoiding coreutils.

PR pkg/55989

diffstat:

 archivers/zstd/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r d77ced49bd4f -r 047c216d9d5f archivers/zstd/Makefile
--- a/archivers/zstd/Makefile   Thu Feb 11 09:27:03 2021 +0000
+++ b/archivers/zstd/Makefile   Thu Feb 11 09:29:50 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2021/01/05 07:38:22 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2021/02/11 09:29:50 nia Exp $
 
 DISTNAME=      zstd-1.4.8
 CATEGORIES=    archivers
@@ -24,7 +24,12 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} != "Linux"
+# see HASH in lib/Makefile
+.if ${OPSYS} == "NetBSD"
+MAKE_ENV+=             HASH=md5
+.elif ${OPSYS} != "Linux" && \
+    ${OPSYS} != "Darwin" && \
+    ${OPSYS} != "OpenBSD"
 TOOL_DEPENDS+=         coreutils>=0:../../sysutils/coreutils
 MAKE_ENV+=             HASH=gmd5sum
 .endif



Home | Main Index | Thread Index | Old Index