Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2022 09:59:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268485] sysutils/topgrade: Update to 10.2.4
Message-ID:  <bug-268485-7788-qw3xKkzxgR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268485-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268485-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268485

--- Comment #3 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to freebsd from comment #2)

For go ports, e.g., sysutils/kopia:
---
post-build:
        ${GO_WRKDIR_BIN}/${PORTNAME} --log-dir=3D"" --help-man >
${WRKSRC}/${PORTNAME}.1

post-install:
        ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1
${STAGEDIR}${PREFIX}/share/man/man1
---

We need to check what best option for rust/cargo ports because there is no
GO_WRKDIR_BIN equivalent for rust.

Could you try:
---
post-install:
        ${PORTNAME} --gen-manpage > ${WRKSRC}/${PORTNAME}.8
        ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8
${STAGEDIR}${PREFIX}/share/man/man8
---

I can't remember where rust binaries are built before they go to stage
(usr/local/bin).

Tomorrow I will have time to test it.

Related to sys-info-rs fix, it is for 32 bit archs. Thats why I've asked if=
 it
is fixed upstream.

Cheers

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268485-7788-qw3xKkzxgR>