From nobody Tue Jun 20 20:59:07 2023 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 4QlzWw2TG3z4flbG; Tue, 20 Jun 2023 20:59:08 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QlzWw1V6Zz3xSc; Tue, 20 Jun 2023 20:59:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687294748; 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=QjjGqWHjinSnYW2jVPZUuxhWOBczOq39ZVwNO6LpRM8=; b=JdHV1L6oVLcWVVwl8qjBIQbINfUXNYI8oWe11fSdSjNp9ub/7oaYyeEMr1mNCM2ihHS06+ MzcljArZPsnyOaVSCPj2oujMX31L/wWxR8oQUp8GKEOV3aQbmziexd/gpW4BAcrCW6NdtU 7ozmUdblH8Sc34znyvrrdVyVT0PBDhPpHDKEyB5PZ4g0jPKdJHArg71/UFAK/s404n3Ou9 yedNf4MewzSydnMGvmIXjf5jMma57wN9P5hq2YQkaAgPTvbMJuOJtZWOrLXze5pv9r+k+K H5nn6svKmjBsfNWfEc/srp364nCSxqwu2dxyiJMWFvrP/Lkve3t61OeBLeBZQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687294748; 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=QjjGqWHjinSnYW2jVPZUuxhWOBczOq39ZVwNO6LpRM8=; b=fpuTQOHLTah+J4YbV7lbsyDR4d9BW88MR7/Yd+nBXTZ394VNkDQ/93AGB5vleLu+4qV0e8 F4d/dip+4cI10eBOP6DxQVfcltpYotrCZweD7ExjoPz4LCLxXSCzdQh3g/bzB/fT3EaZMX qB6XUW5xxojO3blwbjFnMtmu7M7M4nhxeTTXp/V/4ekQZ4CSmt40tcis7CIa4ZYJIYIzMr wuwC8rFTfjQbvZAQAWfpij3D9Zhae9xl7THD+1akuOH1BhiVfuZztofS8VZGQhfuq6WS5I 87F/O2Y5SUuOFJ5w4xMLQGtKNDtAMHXyfuStdd2YOILfifX/Tb1cdZmNkVyR6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687294748; a=rsa-sha256; cv=none; b=XExqjyPH07iGN0fR1JLExa/rLlyCdTrfsyGr/hT+wH6kpi3q3nw3hAQKg0fXwc3JL2WDXz Q8v5+s7uWfKRiodPcbuYQTTo8bBD3JYARqzL6G2MPOLFxCWtJBm3o/i3u6x/WnXearqSOd +mUEeV7nk2DlzJt4xWUAYmyx98sYQalhd3MMjAxI33mNzemYA2MH0tJk2TW37FJPhU6VLV nScubVIrRQQ81fnWy6naytBIEl7FWwZyaY4BUDjKynmLbc25N0SujlpBsBMM5lvY8vOVvH 5GQ9AhGeZlPvSPPJjkJSk3NL13efDqIeyLwnZw8jbxMdbXfQhDSs38PWibwT5g== 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 4QlzWw0Z3xzDpq; Tue, 20 Jun 2023 20:59:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35KKx77m090322; Tue, 20 Jun 2023 20:59:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KKx7Cn090321; Tue, 20 Jun 2023 20:59:07 GMT (envelope-from git) Date: Tue, 20 Jun 2023 20:59:07 GMT Message-Id: <202306202059.35KKx7Cn090321@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 824b64a2f1a0 - main - Warn about nonfunctional WITHOUT options 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 824b64a2f1a05bd1a6176719f2d4c1a2e16d6d08 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=824b64a2f1a05bd1a6176719f2d4c1a2e16d6d08 commit 824b64a2f1a05bd1a6176719f2d4c1a2e16d6d08 Author: Colin Percival AuthorDate: 2023-06-20 04:42:17 +0000 Commit: Colin Percival CommitDate: 2023-06-20 20:58:58 +0000 Warn about nonfunctional WITHOUT options Print a warning if we try to WITHOUT_ an option which is marked as "required" (and forced on). Suggested by: emaste, imp Reviewed by: emaste, imp Differential Revision: https://reviews.freebsd.org/D40613 --- share/mk/bsd.mkopt.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/bsd.mkopt.mk b/share/mk/bsd.mkopt.mk index 33eed9c8bce6..1a4433ea7024 100644 --- a/share/mk/bsd.mkopt.mk +++ b/share/mk/bsd.mkopt.mk @@ -59,6 +59,9 @@ MK_${var}:= yes # step towards removing the options entirely. # .for var in ${__REQUIRED_OPTIONS} +.if defined(WITHOUT_${var}) +.warning WITHOUT_${var} option ignored: it is no longer supported +.endif MK_${var}:= yes .endfor