[Bug 264874] [NEW PORT] net/slackcat: Simple commandline utility to post snippets to Slack

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Jun 2022 23:56:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264874

Dmitri Goutnik <dmgk@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmgk@freebsd.org

--- Comment #2 from Dmitri Goutnik <dmgk@freebsd.org> ---
Hi,

> GO_MODULE=	github.com/bcicen/${PORTNAME}@v1.2.2-0.20210721161326-5c4e4410002c

This will actually install the older v1.2.2 version, not v1.7.3 as the
DISTVERSION says.

> GO_TARGET=	${PORTNAME}

This is already the default.

> @${REINPLACE_CMD} -e "/version = /s/dev-build/${DISTVERSION}/" ${WRKSRC}/main.go

A better way to do this would be with GO_BUILDFLAGS=-ldflags="-X
main.version=${DISTVERSION}"

-- 
You are receiving this mail because:
You are the assignee for the bug.