I'm following the instruction on Porters Handbook to create a very simple port for a Go application at https://docs.freebsd.org/en/books/porters-handbook/book/#using-go. I'm stuck at the section where it says to run
I have the proper entries in the Makefile (it's exactly a copy/paste from the documentation mentioned)
I also made sure I have ports-mgmt/modules2tuple installed.
This has worked for me in the past, but I don't know what's changed. I tried it on two systems, one that I've used for years to create ports, and a new fresh installation.
make gomod-vendor. It's failing, stating that it doesn't know how to do that.
Code:
make gomod-vendor
make: don't know how to make gomod-vendor. Stop
I have the proper entries in the Makefile (it's exactly a copy/paste from the documentation mentioned)
Code:
PORTNAME= kaspad
DISTVERSIONPREFIX= v
DISTVERSION= 0.12.17
CATEGORIES= net-p2p
MAINTAINER= ports@FreeBSD.org
COMMENT= Reference full node Kaspa implementation written in Go
WWW= https://github.com/kaspanet/kaspad/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/kaspanet/kaspad
PLIST_FILES= bin/kaspad \
bin/genkeypair \
bin/kaspactl \
bin/kaspaminer \
bin/kaspawallet
.include <bsd.port.mk>
I also made sure I have ports-mgmt/modules2tuple installed.
pkg info -x modules2tuple
modules2tuple-2.2.4_14
This has worked for me in the past, but I don't know what's changed. I tried it on two systems, one that I've used for years to create ports, and a new fresh installation.