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

next in thread | previous in thread | raw e-mail | index | archive | help
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 - fo=
und
> =3D=3D=3D> Fetching all distfiles required by sendxmpp-rs-2.0.0 for buil=
ding
> ```
>
> 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".





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