git: a02e0973e6a0 - main - misc/compat*x: Make make makesum more comfortable to use

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 16:52:09 UTC
The branch main has been updated by arrowd:

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

commit a02e0973e6a08b0dbecc5c079ae50fe69f64aec9
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-08-14 16:01:37 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-08-14 16:51:17 +0000

    misc/compat*x: Make make makesum more comfortable to use
---
 misc/compat4x/Makefile.makedist | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/misc/compat4x/Makefile.makedist b/misc/compat4x/Makefile.makedist
index f0dbba2c42c9..a0faadd111f5 100644
--- a/misc/compat4x/Makefile.makedist
+++ b/misc/compat4x/Makefile.makedist
@@ -13,3 +13,10 @@ makedist:
 	@${ECHO_CMD} 'mv /tmp/${PORTNAME}-* ${PORTSDIR}/distfiles/'
 	@${ECHO_CMD} adjust PORTVERSION accordingly and run
 	@${ECHO_CMD} ${MAKE} -C ${.CURDIR} makesum
+
+.if make(makesum)
+.  undef DISTNAME
+.  for arch in ${ONLY_FOR_ARCHS}
+DISTFILES+=    ${PORTNAME}-${arch}-${PORTVERSION}${EXTRACT_SUFX}
+.  endfor
+.endif