git: 5ebd817f9cff - main - Mk/bsd.port.mk: Pass MASTER_SITE_SUBDIR to submake of makesum target

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 22:14:46 UTC
The branch main has been updated by tijl:

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

commit 5ebd817f9cff059818b06d21c0780ba44d0bfe4d
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-12-25 20:03:14 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2022-12-25 22:05:43 +0000

    Mk/bsd.port.mk: Pass MASTER_SITE_SUBDIR to submake of makesum target
    
    This fixes make makesum in Linux ports.  Uses/linux.mk only defines
    MASTER_SITE_SUBDIR if MASTER_SITES is undefined so it was empty in the
    submake.
---
 Mk/bsd.port.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4bd5681bc61c..50c8be9ae4cd 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3884,6 +3884,7 @@ makesum: check-sanity
 	@cd ${.CURDIR} && ${MAKE} fetch NO_CHECKSUM=yes \
 			DISABLE_SIZE=yes DISTFILES="${DISTFILES}" \
 			MASTER_SITES="${MASTER_SITES}" \
+			MASTER_SITE_SUBDIR="${MASTER_SITE_SUBDIR}" \
 			PATCH_SITES="${PATCH_SITES}"
 	@${SETENV} \
 			${_CHECKSUM_INIT_ENV} \