git: 39607769b68f - main - sysutils/containers-common: fix source build outside poudriere

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Fri, 24 Oct 2025 22:58:38 UTC
The branch main has been updated by dch:

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

commit 39607769b68f200a1245e3e3456417e042a2c6b3
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2025-10-24 22:57:04 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2025-10-24 22:58:25 +0000

    sysutils/containers-common: fix source build outside poudriere
    
    Remove golangci lint stage from default make target, to allow
    building in the traditional ports tree + make.
    
    Reported by:    Robert Gogolok mastodon.bsd.cafe/@gogo
    Obtained from:  bapt
    Sponsored by:   SkunkWerks, GmbH
---
 sysutils/containers-common/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysutils/containers-common/Makefile b/sysutils/containers-common/Makefile
index 2575753505f7..2e08837cd389 100644
--- a/sysutils/containers-common/Makefile
+++ b/sysutils/containers-common/Makefile
@@ -29,6 +29,10 @@ IMAGEVERSION=	5.36.2
 SKOPEOVERSION=	1.20.0
 STORAGEVERSION=	1.59.1
 
+post-patch:
+	${SED} -I '' /golangci/d ${WRKSRC_storage}/tests/tools/Makefile
+	${SED} -I '' -Ee s/go-md2man../go-md2man/ ${WRKSRC_storage}/tests/tools/Makefile
+
 do-build:
 	${GMAKE} -C ${WRKSRC_common}/docs
 	${GMAKE} -C ${WRKSRC_storage} install.tools