git: 1bcf990c4e5e - main - lang/rust: Add CPE information

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Fri, 08 Oct 2021 11:44:44 UTC
The branch main has been updated by decke:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1bcf990c4e5ea789603e03cb4b673ba57062762b

commit 1bcf990c4e5ea789603e03cb4b673ba57062762b
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2021-10-08 11:22:09 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2021-10-08 11:22:09 +0000

    lang/rust: Add CPE information
    
    Approved by:    portmgr (blanket)
---
 lang/rust/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 5d048759c9f7..6a986cc6dd4b 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -32,7 +32,9 @@ ONLY_FOR_ARCHS_REASON?=	requires prebuilt bootstrap compiler
 BUILD_DEPENDS=	cmake:devel/cmake
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
-USES=		ninja:build pkgconfig python:3.6+,build ssl tar:xz
+USES=		cpe ninja:build pkgconfig python:3.6+,build ssl tar:xz
+
+CPE_VENDOR=	rust-lang
 
 MAKE_ENV=	DESTDIR=${STAGEDIR} \
 		OPENSSL_DIR="${OPENSSLBASE}" \