From 103a85e6f64f305684db354a0eb9a10d5c586d5c Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 27 Mar 2024 20:53:52 +0800 Subject: [PATCH] Use md5sum rather than gmd5sum for FreeBSD Reference: https://man.freebsd.org/cgi/man.cgi?query=md5sum --- lib/libzstd.mk | 2 -- tests/cli-tests/common/platform.sh | 1 - tests/playTests.sh | 1 - 3 files changed, 4 deletions(-) diff --git a/lib/libzstd.mk b/lib/libzstd.mk index a308a6ef6..14b3b11d6 100644 --- a/lib/libzstd.mk +++ b/lib/libzstd.mk @@ -213,8 +213,6 @@ ifeq ($(UNAME), Darwin) ifeq ($(shell md5 < /dev/null > /dev/null; echo $$?), 0) HASH ?= md5 endif -else ifeq ($(UNAME), FreeBSD) - HASH ?= gmd5sum else ifeq ($(UNAME), NetBSD) HASH ?= md5 -n else ifeq ($(UNAME), OpenBSD) diff --git a/tests/cli-tests/common/platform.sh b/tests/cli-tests/common/platform.sh index 6eb45eab9..a07f229dc 100644 --- a/tests/cli-tests/common/platform.sh +++ b/tests/cli-tests/common/platform.sh @@ -18,7 +18,6 @@ esac case "$UNAME" in Darwin) MD5SUM="md5 -r" ;; - FreeBSD) MD5SUM="gmd5sum" ;; NetBSD) MD5SUM="md5 -n" ;; OpenBSD) MD5SUM="md5" ;; *) MD5SUM="md5sum" ;; diff --git a/tests/playTests.sh b/tests/playTests.sh index e2a0694f5..026490051 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -123,7 +123,6 @@ esac case "$UNAME" in Darwin) MD5SUM="md5 -r" ;; - FreeBSD) MD5SUM="gmd5sum" ;; NetBSD) MD5SUM="md5 -n" ;; OpenBSD) MD5SUM="md5" ;; *) MD5SUM="md5sum" ;;