From owner-svn-src-head@freebsd.org Tue Nov 3 13:26:00 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2E5B458C1D; Tue, 3 Nov 2020 13:26:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CQVsh690Mz3cf3; Tue, 3 Nov 2020 13:26:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B6E091B17D; Tue, 3 Nov 2020 13:26:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A3DQ01t093411; Tue, 3 Nov 2020 13:26:00 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A3DQ0VE093410; Tue, 3 Nov 2020 13:26:00 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202011031326.0A3DQ0VE093410@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 3 Nov 2020 13:26:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367295 - head/share/man/man7 X-SVN-Group: head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/share/man/man7 X-SVN-Commit-Revision: 367295 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2020 13:26:01 -0000 Author: 0mp (doc,ports committer) Date: Tue Nov 3 13:26:00 2020 New Revision: 367295 URL: https://svnweb.freebsd.org/changeset/base/367295 Log: Document how to set ports options via make.conf(5) This patch is based on: - https://lists.freebsd.org/pipermail/freebsd-ports-announce/2013-June/000062.html - current content of /usr/ports/Mk/bsd.options.mk PR: 194306 Reported by: Daan K. MFC after: 2 weeks Modified: head/share/man/man7/ports.7 Modified: head/share/man/man7/ports.7 ============================================================================== --- head/share/man/man7/ports.7 Tue Nov 3 12:29:10 2020 (r367294) +++ head/share/man/man7/ports.7 Tue Nov 3 13:26:00 2020 (r367295) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 1, 2020 +.Dd November 3, 2020 .Dt PORTS 7 .Os .Sh NAME @@ -615,6 +615,25 @@ is going to be built with Python 3.7 support.) .Li # Ic cd /usr/ports/devel/py-pip .Li # Ic env FLAVOR=py37 make build .Ed +.It Sy Example 4\&: No Setting Ports Options via Xr make.conf 5 +.Pp +The following lines present various ways of configuring ports options via +.Xr make.conf 5 +(as an alternative to, e.g., running +.Dq Li make config ) : +.Bd -literal -offset 2n +# Enable NLS for all ports unless configured otherwise +# using the options dialog. +OPTIONS_SET= NLS +# Disable DOCS for all ports overriding the options set +# via the options dialog. +OPTIONS_UNSET_FORCE= DOCS +# Disable DOCS and EXAMPLES for the shells/zsh port. +shells_zsh_UNSET= DOCS EXAMPLES +.Ed +.Pp +These and other options-related variables are documented in +.Pa /usr/ports/Mk/bsd.options.mk . .El .Sh SEE ALSO .Xr make 1 ,