git: f23fdb0f733f - main - archivers/zstd: Fix build on FreeBSD 13.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 15:53:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f23fdb0f733fc2b577cc2a473ead16d0deb910e3

commit f23fdb0f733fc2b577cc2a473ead16d0deb910e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 15:52:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 15:52:56 +0000

    archivers/zstd: Fix build on FreeBSD 13.0
    
    md5sum is not available on FreeBSD 13.0 which reaches its EoL on 2022-08-31.
    
    Notified by:    jbeich
---
 archivers/zstd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index ed8af4b8bddf..c3d6153e9861 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -13,11 +13,12 @@ LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	liblz4.so:archivers/liblz4
+TEST_DEPENDS=	gmd5sum:sysutils/coreutils # required by FreeBSD 13.0
 
 USES=		gmake localbase:ldflags tar:zst
 
 ALL_TARGET=	default
-BINARY_ALIAS=	gmd5sum=md5sum
+#BINARY_ALIAS=	gmd5sum=md5sum
 TEST_TARGET=	test
 USE_LDCONFIG=	yes