From nobody Sat Sep 13 11:31:27 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cP8JH6Clsz62c2h; Sat, 13 Sep 2025 11:31:27 +0000 (UTC) (envelope-from git@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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cP8JH5N1Rz4Pv0; Sat, 13 Sep 2025 11:31:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757763087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1StTyjQ3iqrbJKTgjGNsPIvvQsTrVF56mnPP++u62t8=; b=yS2S4LPdTuCejf8VKHQEGzz5jfsTCQ0RWreSXlUtNhqokJHMbaNfx7kS57BDX+HjbWSIVh oZUgryRWPcj8y4XjciTHUCtxg3xdLfjk7cBgfpeXf0IQXJjBIPLCD3VbpPw749a5aJpfWv 9j1M2RPGHLeilrWCjAl7b0ppAoH/kx7tYbTc2dWTnSxxpsUM/HPZZIUAkf0HMtKuvc4Nzj 0j79+iPtItinU5kH3Uh+D2TepvnchQYUzDyBNCRiz2ikbyqLH1QNGes9LpHoFgdoBXTTNO Gbo9j/WRCo+59/33kLtnqLUKsVZ/KSfHewhaTOjYupkvZpC6F1z+uOj8gDU3JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757763087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1StTyjQ3iqrbJKTgjGNsPIvvQsTrVF56mnPP++u62t8=; b=HXgQQCpXzjiSiRUjJYOYu6w0FYFehjHnxfEKq7YOnvtOqNa5yeJd7re7PIlrNdNv21OkCw dEWCJypzhrGRsZBz5RKbhP7limveHMqHrQ2Uac0s/jcTte1AkTZENvpGzHDvp9CHKCHZD5 v7dnZtOs7yRfVunhq/hK05dWoAM6rgifi4rR4+V8eBn56uKV7FsD/SfxeNNp+2sza8pNxW RU/NQKVvhw2Ck34IVRZTtb5ykgAwjH5+VgrAAqHOT32thWt7BTQCTe/9qZXfSzTDL2+oG/ m3cLMNSZ/CybkH0ixPan0zBvetmGQ0M+DSgfXP1Cds18hKcEpISHjHFLcCvBrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757763087; a=rsa-sha256; cv=none; b=Yxzly8KMDfFpXgWrAf8M9t3GjYr99YlIuXMRmktqjK5EOxB7HKJoAAxVdnFfa5CfTo3nHx H2xOYkymFFgBacKaQTQiUl9e/RWByFGj7EUsoSx6cF1BIX0DVh/O+ystuF1XU2/5VDKvpZ +kic5tXA8whBsXt9YoPELSfpKKDLpV67j1b8CXI3UV8Gbe8g0dlx1XHpUtWxmNMFyrylWZ MQ2omHJyAZxQeD6gGtckz2v8x3UKVTStzR9QBK8ABqPjM8Zmak9AoRmZ/OpLNtZWYuSbFr RH3fdB28zUI2BqMaV9eDLXfLGa6r2ti37YmndLPDq3D0y/6CupjGZ1p2R9dFmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cP8JH4f2mzdGP; Sat, 13 Sep 2025 11:31:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58DBVRkT075224; Sat, 13 Sep 2025 11:31:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58DBVR1g075221; Sat, 13 Sep 2025 11:31:27 GMT (envelope-from git) Date: Sat, 13 Sep 2025 11:31:27 GMT Message-Id: <202509131131.58DBVR1g075221@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: c7608bcae4e0 - stable/14 - ports.7: Fix example of passing variables on the command line List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c7608bcae4e008a8b9c7f59ee4ab9a0804fe2c9e Auto-Submitted: auto-generated The branch stable/14 has been updated by 0mp: URL: https://cgit.FreeBSD.org/src/commit/?id=c7608bcae4e008a8b9c7f59ee4ab9a0804fe2c9e commit c7608bcae4e008a8b9c7f59ee4ab9a0804fe2c9e Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2025-09-10 08:52:15 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2025-09-13 11:31:22 +0000 ports.7: Fix example of passing variables on the command line make(1)'s -D flag does not allow for setting the value of the variable. It just defines the variable and sets its value to 1. In fact, make(1) treats "=" as just another character in the variable name: ``` $ make -DA=2 -V A # Output is just an empty line. $ make -DA=2 -V A=2 # Variable "A=2" is defined and set to "1". 1 ``` Fixes: d25f7d324a9d ports.7: Document DEBUG_FLAGS and the process of debugging ports MFC after: 3 days (cherry picked from commit 9365a328596c9f156deaa15fa018b76b3a6e6b18) --- share/man/man7/ports.7 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7 index 6650399cfc67..2b6f17965fce 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 March 21, 2025 +.Dd September 10, 2025 .Dt PORTS 7 .Os .Sh NAME @@ -683,7 +683,7 @@ WITH_DEBUG_PORTS= mail/dovecot security/krb5 .Pp It is also possible to use the debug variables on the command line: .Bd -literal -offset 2n -.Li # Ic make -DWITH_DEBUG DEBUG_FLAGS="-g -O0" build +.Li # Ic make WITH_DEBUG DEBUG_FLAGS="-g -O0" build .Ed .Pp See the