Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2022 23:39:57 +0200
From:      "rollniak" <rollniak@courrier.dev>
To:        "Stefan Ehmann" <shoesoft@gmx.net>, <freebsd-ports@freebsd.org>
Subject:   Re: make don't know how to make-crates
Message-ID:  <CIZ89CE3W70Y.3RG74AHURNTZP@aramaki.int.rollniak.eu>
In-Reply-To: <3353093.2dy2HSAaF3@walrus.pepperland>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D			sendxmpp-rs
> > PORTVERSION=3D		2.0.0
> > DISTVERSIONPREFIX=3D	v
> > CATEGORIES=3D			net-im
> >
> > MAINTAINER=3D			rollniak@courrier.dev
> > COMMENT=3D			Send XMPP messages from the command
> > line.
> >
> > USE=3D				cargo
> > USE_GITHUB=3D			yes
> > GH_ACCOUNT=3D			moparisthebest
> > CONFLICTS=3D			sendxmpp
> > ```
> >
> > And executed `make makesum`:
> >
> > ```
> > $ make makesum
> > =3D=3D=3D>   sendxmpp-rs-2.0.0 depends on file: /usr/local/sbin/pkg - f=
ound
> > =3D=3D=3D> Fetching all distfiles required by sendxmpp-rs-2.0.0 for bui=
lding
> > ```
> >
> > 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=3Dcargo" instead of "USE=3Dcargo".

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

Thanks you very much,
rollniak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CIZ89CE3W70Y.3RG74AHURNTZP>