From nobody Sun Jul 28 08:51:06 2024 X-Original-To: ports-bugs@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 4WWwFV2Bxjz5RmYZ for ; Sun, 28 Jul 2024 08:51:10 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWwFT55XRz473G for ; Sun, 28 Jul 2024 08:51:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722156669; a=rsa-sha256; cv=none; b=sPps5i0T1LyZhvYs+cbxsTjSgpSmx/dG+bnpRorv+qx7AAlsm91FlA7WnG35rvqhoPvUeO Bl3DnIY9U0dlruvUjqtQiLz6+wE4kqm6xtC/9wnjrNcA4qWinoa/lnZuKnWfyig3TIcdCs SuaSYn4opPKPTCAsoNr4oQ/6XEyD5GnQpKG28mQ2gSbJrxPaYQG1HKw5ERYJE6y8E4dzS7 J1j6QIeOEHcpF6vmBt39Ih0fQOnebsGmkQDcp+wEKDQNc7w2bPerD0O9A509yqPyvtx84D dfVtcbWQdGZrhUcyKCnmfYlayKRV3JhykXaM6p4yOKjvTDpQZ8zvD1N/1y6o7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722156669; 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: in-reply-to:in-reply-to:references:references; bh=yw0drV7NmCeBJaX9LqmILC6RJAu9APiesOee3VdqkCQ=; b=EwQaiG8iHV0QWIK5gjU4sVQpkfzxgRBHKhHImC9f7LFmQ5PkliNeoZ6O4MXWKG1cn7GTsy GHGveY7+hUNvhJM7FUY2FjdcexbFpfQnKt5gDj5O4omu3ytKseGyJ7EO4Uy9DSr05+iSQ1 vbChOKdLoBE7aQ2t2k2C+4DAWhCFztS9QAKK/g6rLaZSL9Z1AgTC8q+xCBAoUxDLrBhp1l DBNXTBVEb/VvEU4V5HaBZkcbx5PQg1+DrcZdsgDEhp1d5o0DNeun+BHSlRkwQNdeoVaSdT S0jzCS0Ap61Ogf32NXAQLkJMwlF14HgV4XRzVm30xry4b0cT//i0WQfbAviI1w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4WWwFT4jcCzkCT for ; Sun, 28 Jul 2024 08:51:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46S8p9BK052831 for ; Sun, 28 Jul 2024 08:51:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46S8p9QN052828 for ports-bugs@FreeBSD.org; Sun, 28 Jul 2024 08:51:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280396] Mk/Uses/cmake.mk: Disallow USE_CSTD and USE_CXXSTD Date: Sun, 28 Jul 2024 08:51:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280396 --- Comment #14 from Gleb Popov --- I'd like to draw an analogy between these knobs and, for example, WITH_DEBU= G. By itself WITH_DEBUG only sets C[XX]FLAGS, but other build systems react to this knob in a specific way: cmake.mk sets CMAKE_BUILD_TYPE, meson.mk passes --buildtype=3Ddebug, etc. But it is still possible mess up a debugging build by passing -O3 via DEBUG_FLAGS. I regard this as a pilot error, rather than a framework proble= m. Making USE_*STD knobs follow the same idea sounds right to me. --=20 You are receiving this mail because: You are on the CC list for the bug.=