From nobody Mon Jul 11 07:55:25 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 13EA71D27041 for ; Mon, 11 Jul 2022 07:55:29 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LhGQR70S5z4JQ5; Mon, 11 Jul 2022 07:55:27 +0000 (UTC) (envelope-from driesm.michiels@gmail.com) Received: by mail-ed1-f47.google.com with SMTP id y4so5212533edc.4; Mon, 11 Jul 2022 00:55:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-language:thread-index; bh=j36Uwlz0BygL6nAOBLS2O4UIqZgGBYRjTl30zzHH+RI=; b=YE+k2A1U4uVvKQp2oRsAd4amNRaVTk0InJ9gzeIb+5gIP7cgFbqDCr0YHU67XDAD1e RQrk3yAtybpm0G9FeFWhIUiAd/O3FOBRVsMAgDcdvOULDo7N2S4joyfuuGIQus7NXMpQ NnRuCFaZk73AGRF6bNQSwmg6FD434b6lWCCdpCH5U99/u2sPUad/7XS/85JfZ3mWSZHg 8Xgva2uDVpJf4tMnQ0cVbIEbtTgX76NKy15mMYCN31cGC2nqu2O8q8kf6oEC4s8dR8AG NVyw/btmwofsSMEaxiqXhZs+NDy9jH4h7xDf3Eak4y7hVV+Ka20IaPvNmgetm2j0GYRR 2HmQ== X-Gm-Message-State: AJIora8yEjZ07wkj4gaDnjaFlcu57Rrhcm6OPytPAcQPrhBOqODuD1Vk YVM8wZkpWg1+eX97iKLNNW48oohI9jg= X-Google-Smtp-Source: AGRyM1v2Ickv5e6565V8jIVNi1B7yBk2lVeXSmi/l7ech9ayJwqRF0OxFS3AQqLlictAnK/ChfBRbg== X-Received: by 2002:aa7:dcc2:0:b0:43a:b180:bb12 with SMTP id w2-20020aa7dcc2000000b0043ab180bb12mr19615009edu.119.1657526126098; Mon, 11 Jul 2022 00:55:26 -0700 (PDT) Received: from DRIESPC (94-224-230-177.access.telenet.be. [94.224.230.177]) by smtp.gmail.com with ESMTPSA id ce14-20020a170906b24e00b0071cbc7487e0sm2415272ejb.71.2022.07.11.00.55.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jul 2022 00:55:25 -0700 (PDT) From: To: "'Nuno Teixeira'" , "'FreeBSD Mailing List'" References: In-Reply-To: Subject: RE: Rust port: CARGO_CRATES in a file Date: Mon, 11 Jul 2022 09:55:25 +0200 Message-ID: <004e01d894fb$94908130$bdb18390$@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004F_01D8950C.581A1480" X-Mailer: Microsoft Outlook 16.0 Content-Language: en-be Thread-Index: AQGLW1kFoWJRslUCaAbobYVaaURtJ64TQAlw X-Rspamd-Queue-Id: 4LhGQR70S5z4JQ5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of driesm.michiels@gmail.com designates 209.85.208.47 as permitted sender) smtp.mailfrom=driesm.michiels@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; FORGED_SENDER(0.30)[driesm@FreeBSD.org,driesmmichiels@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.47:from]; MLMMJ_DEST(0.00)[freebsd-ports]; FROM_NO_DN(0.00)[]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.47:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[driesm@FreeBSD.org,driesmmichiels@gmail.com] X-ThisMailContainsUnwantedMimeParts: N This is a multipart message in MIME format. ------=_NextPart_000_004F_01D8950C.581A1480 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =20 From: owner-freebsd-ports@freebsd.org = On Behalf Of Nuno Teixeira Sent: Monday, 11 July 2022 09:19 To: FreeBSD Mailing List Subject: Rust port: CARGO_CRATES in a file =20 Hello, =20 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=3D 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. =20 Hi Eduardo! This is an example of using Makefile.crates: = librespot = =C2=AB multimedia - ports - FreeBSD ports tree This file name is actually defined in bsd.mk or uses=3Dcargo, I = can=E2=80=99t remember. Nothing extra needs to be done to use it. Regards Dries =20 Thanks, =20 Nuno Teixeira ------=_NextPart_000_004F_01D8950C.581A1480 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

 

From: = owner-freebsd-ports@freebsd.org <owner-freebsd-ports@freebsd.org> = On Behalf Of Nuno Teixeira
Sent: Monday, 11 July 2022 = 09:19
To: FreeBSD Mailing List = <freebsd-ports@freebsd.org>
Subject: Rust port: = CARGO_CRATES in a file

 

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=3D           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.

 

Hi = Eduardo!

This is an example of = using Makefile.crates: librespot =C2=AB multimedia - ports - FreeBSD ports = tree

This = file name is actually defined in bsd.mk or uses=3Dcargo, I can=E2=80=99t = remember. Nothing extra needs to be done to use = it.

Regards = Dries

 

Thanks,

 

Nuno = Teixeira

------=_NextPart_000_004F_01D8950C.581A1480--