git: aea1ae5cb7f4 - main - emulators/i386-wine: Add CPE information

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Mon, 18 Oct 2021 19:26:37 UTC
The branch main has been updated by se:

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

commit aea1ae5cb7f4efb1065219a607d4df5464180c17
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-10-18 19:18:56 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2021-10-18 19:25:55 +0000

    emulators/i386-wine: Add CPE information
    
    Approved by:    portmgr (blanket)
---
 emulators/i386-wine/Makefile       | 3 +++
 emulators/i386-wine/Makefile.amd64 | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/emulators/i386-wine/Makefile b/emulators/i386-wine/Makefile
index 7904a4328f45..2289c1b50b86 100644
--- a/emulators/i386-wine/Makefile
+++ b/emulators/i386-wine/Makefile
@@ -21,6 +21,9 @@ ONLY_FOR_ARCHS=	i386 amd64
 
 CONFLICTS_INSTALL=	wine-[0-9]* wine-devel-[0-9]* i386-wine-devel-[0-9]*
 
+USES=		cpe
+CPE_VENDOR=	winehq
+
 PKGINSTALL=	${.CURDIR}/files/pkg-install
 PKGDEINSTALL=	${PKGINSTALL}
 
diff --git a/emulators/i386-wine/Makefile.amd64 b/emulators/i386-wine/Makefile.amd64
index b89205f61ef2..ef26a0c2e029 100644
--- a/emulators/i386-wine/Makefile.amd64
+++ b/emulators/i386-wine/Makefile.amd64
@@ -17,7 +17,7 @@ EXTRACT_AFTER_ARGS=	-C / --exclude +COMPACT_MANIFEST --exclude +MANIFEST \
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 USE_LDCONFIG32=	${PREFIX}/lib32 ${PREFIX}/lib32/wine
-USES=		desktop-file-utils tar:txz
+USES+=		desktop-file-utils tar:txz
 BUNDLE_LIBS=	yes
 PKGMESSAGE=	${WRKDIR}/pkg-message
 PORTSCOUT=	limitw:1,even