From Newsgroup: muc.lists.freebsd.ports
sysutils/containers-common needs a patch to one of the fetched modules, to build successfully, thanks bapt@ for helping with that.
It seems the usual copy & make makepatch tricks don't work because its not
part of the original source tree, but part of the fetches.
I worked around it using sed (see below) but it's not ideal.
Are there any better approaches?
#
https://git.sr.ht/~dch/ports/commit/dc78093
diff --git a/sysutils/containers-common/Makefile b/sysutils/containers-common/Makefile
index 2575753505f76d78c80f48651f49bfa71e4e167e..2e08837cd389df27704da7af2e172dac3f9ec56b 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
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to
news-admin@muc.de
--- Synchronet 3.21a-Linux NewsLink 1.2