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: nros
Date: Wed Mar 31 13:26:06 UTC 2021
Modified Files:
pkgsrc/archivers/zstd: Makefile
Log Message:
zstd: get rid of coreutils dependency
Set BUILD_DIR, with this HASH is unused and there is no need to
depend on coreutils to get gmd5sum. Eases dependency load on all
platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 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.38 pkgsrc/archivers/zstd/Makefile:1.39
--- pkgsrc/archivers/zstd/Makefile:1.38 Sat Feb 27 16:40:59 2021
+++ pkgsrc/archivers/zstd/Makefile Wed Mar 31 13:26:06 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2021/02/27 16:40:59 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2021/03/31 13:26:06 nros Exp $
DISTNAME= zstd-1.4.8
CATEGORIES= archivers
@@ -24,16 +24,14 @@ MAKE_JOBS_SAFE= no
.include "../../mk/bsd.prefs.mk"
-# see HASH in lib/Makefile
-.if ${OPSYS} == "NetBSD"
-# https://github.com/facebook/zstd/pull/2492
-MAKE_ENV+= HASH="md5 -n"
-.elif ${OPSYS} != "Linux" && \
- ${OPSYS} != "Darwin" && \
- ${OPSYS} != "OpenBSD"
-TOOL_DEPENDS+= coreutils>=0:../../sysutils/coreutils
-MAKE_ENV+= HASH=gmd5sum
-.endif
+# See HASH and BUILD_DIR in lib/Makefile and programs/Makefile.
+# Set BUILD_DIR so that HASH is not needed and there is no
+# need for coreutils as a dependency.
+# HASH is set to false because programs/Makefile try to
+# execute HASH in order to see if it exists but the result
+# is unused when BUILD_DIR is set.
+MAKE_ENV+= BUILD_DIR=obj
+MAKE_ENV+= HASH=${FALSE}
USE_LANGUAGES= c c++
USE_TOOLS+= ggrep gmake pkg-config
Home |
Main Index |
Thread Index |
Old Index