Re: make don't know how to make-crates

From: rollniak <rollniak_at_courrier.dev>
Date: Fri, 01 Apr 2022 21:39:57 UTC
On Fri Apr 1, 2022 at 9:51 PM CEST, Stefan Ehmann wrote:
> On Friday, April 1, 2022 4:08:34 AM CEST rollniak wrote:
> > Hello,
> >
> > I'm trying to make my first port on FreeBSD with sendxmpp-rs (
> > https://github.com/moparisthebest/sendxmpp-rs ).
> > I wrote the following _Makefile_:
> >
> > ```
> > PORTNAME=			sendxmpp-rs
> > PORTVERSION=		2.0.0
> > DISTVERSIONPREFIX=	v
> > CATEGORIES=			net-im
> >
> > MAINTAINER=			rollniak@courrier.dev
> > COMMENT=			Send XMPP messages from the command
> > line.
> >
> > USE=				cargo
> > USE_GITHUB=			yes
> > GH_ACCOUNT=			moparisthebest
> > CONFLICTS=			sendxmpp
> > ```
> >
> > And executed `make makesum`:
> >
> > ```
> > $ make makesum
> > ===>   sendxmpp-rs-2.0.0 depends on file: /usr/local/sbin/pkg - found
> > ===> Fetching all distfiles required by sendxmpp-rs-2.0.0 for building
> > ```
> >
> > But when I ran 'make cargo-crates`, I got the following message instead
> > of a CARGO_CRATES output I expected:
> >
> > ```
> > make: don't know how to make cargo-crates. Stop
>
> Not familiar with cargo but try "USES=cargo" instead of "USE=cargo".

And that it ! A little typo I missed at each reviews.. oups..

Thanks you very much,
rollniak