pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/zstd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Feb 11 09:29:50 UTC 2021

Modified Files:
        pkgsrc/archivers/zstd: Makefile

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

PR pkg/55989


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/archivers/zstd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/zstd/Makefile
diff -u pkgsrc/archivers/zstd/Makefile:1.33 pkgsrc/archivers/zstd/Makefile:1.34
--- pkgsrc/archivers/zstd/Makefile:1.33 Tue Jan  5 07:38:22 2021
+++ pkgsrc/archivers/zstd/Makefile      Thu Feb 11 09:29:50 2021
@@ -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 @@ MAKE_JOBS_SAFE=              no
 
 .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