Re: make don't know how to make-crates
- In reply to: rollniak: "make don't know how to make-crates"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Apr 2022 17:51:58 UTC
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".