git: 8eb863097f26 - main - ports.7: Document how to use mdo(1) for SU_CMD

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 11:59:53 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8eb863097f264794eccd8ef7cdaf95aa80260353

commit 8eb863097f264794eccd8ef7cdaf95aa80260353
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2026-10-07 14:11:22 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2026-10-08 11:37:05 +0000

    ports.7: Document how to use mdo(1) for SU_CMD
    
    Reviewed by:    olce
    MFC after:      1 week
    Sponsored by:   fme AG
    Differential Revision:  https://reviews.freebsd.org/D60443
---
 share/man/man7/ports.7 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7
index 0a56afd9d644..77503b4aa341 100644
--- a/share/man/man7/ports.7
+++ b/share/man/man7/ports.7
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 25, 2026
+.Dd October 7, 2026
 .Dt PORTS 7
 .Os
 .Sh NAME
@@ -459,6 +459,8 @@ and
 The default is
 .Ql /usr/bin/su root -c .
 Many users set it to
+.Ql /usr/bin/mdo sh -c
+or
 .Ql /usr/local/bin/sudo -E sh -c
 for convenience.
 .It Va PACKAGES