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

Gleb Popov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by arrowd:

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

commit a02e0973e6a08b0dbecc5c079ae50fe69f64aec9
Author:     Gleb Popov <[email protected]>
AuthorDate: 2026-08-14 16:01:37 +0000
Commit:     Gleb Popov <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.