Sunday, January 29, 2023

Re: cargo.port.mk suppprt for GH_*

On Sat, 28 Jan 2023 13:24:10 +0000, Stuart Henderson wrote:

> Now that we have GH_DISTNAME, we can add support for GH_* in
> cargo.port.mk without too much mess, allowing those ports which use the
> module and GH_* distfiles to get rid of the "DISTFILES +=
> ${DISTNAME}${EXTRACT_SUFX}' boilerplate from their Makefiles.
>
> I've got this in my current i386 bulk (now most of the way through with
> no problems), assuming that succeeds, OK?

OK, I used ${GH_DISTFILE} instead of ${DISTNAME}${EXTRACT_SUFX} to define
DISTFILES in my recent ports of Rust tools (for example devel/stylua and
textproc/delta) => works without issue on amd64.

Thanks for this patch.

Laurent

No comments:

Post a Comment