git: a269704700c2 - main - emulators/wine: Document the need for /proc to be mounted

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Fri, 29 Oct 2021 06:07:46 UTC
The branch main has been updated by gerald:

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

commit a269704700c2265a3c17b879aa5922ccf12c1c1e
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2021-10-29 06:05:31 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2021-10-29 06:05:31 +0000

    emulators/wine: Document the need for /proc to be mounted
    
    This likely won't be necessary with the next major version any longer
    due to upstream work by Damjan; for the time being it is still required.
    
    PR:             258795
---
 emulators/wine/Makefile             | 2 +-
 emulators/wine/files/pkg-message.in | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index a9285f91045c..5d4a2af1a43c 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	wine
 DISTVERSION=	6.0.1
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}/Source \
diff --git a/emulators/wine/files/pkg-message.in b/emulators/wine/files/pkg-message.in
index a8632c68958b..a5ad45d39574 100644
--- a/emulators/wine/files/pkg-message.in
+++ b/emulators/wine/files/pkg-message.in
@@ -1,6 +1,11 @@
 [
 { type: install
   message: <<EOM
+Wine requires procfs(5) mounted on /proc. You can do so manually via
+  mount -t procfs proc /proc
+or make it permanent via something like the following in /etc/fstab
+  proc   /proc   procfs   rw   0 0
+
 Some ZFS tuning guides recommend setting KVA_PAGES=512 in your kernel
 configuration.  This is incompatible with Wine.  The maximum possible
 is KVA_PAGES=500, which should still be enough for ZFS.