Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2022 08:19:26 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Rust port: CARGO_CRATES in a file
Message-ID:  <CAFDf7UJ_ZO7LMewCeH_YoUobpo=D3XrDKKPf1BCMngBhUDUwSA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000df1b1e05e3825f5b
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm looking for the correct way of using CARGO_CRATES list in a file
instead of Makefile.

I've found an example in www/so port:
---
USES=           cargo ssl
...
.include "${.CURDIR}/bsd.so.mk"
---
where bsd.so.mk is the CARGO_CRATES file list.

What you think about it? IMO a CARGO_CRATES file is good when we have a big
list.
CARGO_CRATES_FILE will be very nice option.

Thanks,

Nuno Teixeira

--000000000000df1b1e05e3825f5b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;m looking for t=
he correct way of using CARGO_CRATES list in a file instead of Makefile.<br=
><br></div><div>I&#39;ve found an example in www/so port:</div><div>---</di=
v><div>USES=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 cargo ssl</div><div>...</=
div><div>.include &quot;${.CURDIR}/<a href=3D"http://bsd.so.mk">bsd.so.mk</=
a>&quot;</div><div>---</div><div>where <a href=3D"http://bsd.so.mk">bsd.so.=
mk</a> is the CARGO_CRATES file list.<br><br></div><div>What you think abou=
t it? IMO a CARGO_CRATES file is good when we have a big list.<br></div><di=
v>CARGO_CRATES_FILE will be very nice option.<br><br></div><div>Thanks,<br>=
</div><div><br></div><div>Nuno Teixeira<br></div></div>

--000000000000df1b1e05e3825f5b--



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