git: 36d264034a32 - 2021Q3 - emulators/winetricks: Mark only for archs amd64/i386

Kevin Bowling kbowling at FreeBSD.org
Wed Sep 22 17:09:51 UTC 2021


The branch 2021Q3 has been updated by kbowling:

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

commit 36d264034a3281d1eff08b9bc8ad756086ef4669
Author:     Alexander Vereeken <Alexander88207 at protonmail.com>
AuthorDate: 2021-09-22 17:07:10 +0000
Commit:     Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-09-22 17:09:39 +0000

    emulators/winetricks: Mark only for archs amd64/i386
    
    PR:             258582
    Reported by:    Graham Perrin <grahamperrin at gmail.com>
    
    (cherry picked from commit 0c37d65105e9a490d7231304a1bce1536ff1a5fd)
---
 emulators/winetricks/Makefile    |  3 +++
 emulators/winetricks/pkg-message | 11 -----------
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/emulators/winetricks/Makefile b/emulators/winetricks/Makefile
index d6f075f87a57..342532d2bab4 100644
--- a/emulators/winetricks/Makefile
+++ b/emulators/winetricks/Makefile
@@ -8,6 +8,9 @@ COMMENT=	Easy way to work around problems in Wine
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS_REASON=	Wine only runs on x86 architecture
+
 RUN_DEPENDS=	cabextract:archivers/cabextract
 
 USES=		perl5
diff --git a/emulators/winetricks/pkg-message b/emulators/winetricks/pkg-message
deleted file mode 100644
index 62fa09cc611b..000000000000
--- a/emulators/winetricks/pkg-message
+++ /dev/null
@@ -1,11 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-The winetricks port requires a 32 bit version of Wine
-
-Please install one of the following packages:
- wine or wine-devel on i386
- i386-wine or i386-wine-devel on amd64
-EOM
-}
-]


More information about the dev-commits-ports-branches mailing list