From nobody Tue Oct 03 13:52:57 2023 X-Original-To: questions@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 4S0K5z6S54z4wHBx for ; Tue, 3 Oct 2023 13:53:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S0K5z5hpyz3CJK for ; Tue, 3 Oct 2023 13:53:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696341191; 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:autocrypt:autocrypt; bh=nVoQKi1aSDM8ZxvpUOZvtld2RXtIy6MhNYqcKNDnOXI=; b=MoZsuM4kSn/o0L/8IL6z2I0gI2LWcY7f3MJ5Y0QJH4InEUGrUaWs7ZV6GpHyYkY7ZwXqBR R6dHoSN+gJyg+3BfaP+s6WXBbFENhUV2//t7DeBxFSqfxeaw9WnxVeX0d5F/DhS6dHvFHK PUpaCZGTY/BEkI2uJmvGTN9Jfk8Xb0xgzFDsK/+w3JBSurk8gGbPrTwpB95Mmcg4M9brOF 3MIoBNAhlNuXYA3fhyzPuARVuPEoJZVD1Qu4gxwJNurI2/kVeAmgq98qrRvdxo93ukNwqx XEQVykab9dgHQfizPh0fW+rZHxObIXna0I/eVZZO0D5KzY3rGJL+38PcXzFJNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696341191; a=rsa-sha256; cv=none; b=VExCR4ErKAyGfecxISoPqU8hGmyAblR0s6u7iNxsaQg/0SH6aMQmQq7+NAYCCTaLeqpHnb 08SoWnhTtVU0U7Ut7IXJEyPrAtnv9+o5bHs5UbmW+9vINoc99ZcMLrvCOKy84LpKbb7CkR B9ZI0gcE87uQ5A7zU+kH5G8DxT/xBl0KFKq6mE2Qbc/luEWQZ9ktlZLfETNDRQ9mlnjMM7 EErHHzeCzPKW7+WxeXCYevcdl5DmDjsyUFZqDz4Rx1l2ao2syLCqJxpNM61flDsyjT8eeR tn4uWZgHOx0LgIOvnp/JrzYfzh4Sria3N2iTbFmLZ0FJNPejueuPBCqIv2JezA== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696341191; 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:autocrypt:autocrypt; bh=nVoQKi1aSDM8ZxvpUOZvtld2RXtIy6MhNYqcKNDnOXI=; b=MLco1yjn44SgRMHOm4sWxbYExby/1Knc1UZnOvpVIevBpr5kknmFbnDeYBmeT3HRvHa1su oLP62jMVOgj/b8ZbcLzzs+PNJMbsRkO8Nd0X26S8iMKonTt+FwLrPVl2tM3H1cig/VTBem uFc3ySSjgWykMXaklQM6aOBbBtxxwqEVqHPqMElWgNHL7+WoaTKwRAbsLDkomRiLsruc+Y pSIDyrrWJI8dfzVPNBOJBhO62k/Z+hK2c87F2Z2icS5AI8uo6gOBQ/F4EdRLfQlD5Nji2u wdVyrEf/carSk+5MTFGgJiXf953zMoD3GLufNJCQTM6RdgJYmEhOMIBe4A29NQ== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4S0K5z2kh1zxDd for ; Tue, 3 Oct 2023 13:53:11 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:c414:378a:8907:5a3d] (unknown [IPv6:2001:8b0:151:1:c414:378a:8907:5a3d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B9AA513204 for ; Tue, 3 Oct 2023 14:53:08 +0100 (BST) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Message-ID: <3deea77b-2a84-469c-86f0-9c34ec3b0759@FreeBSD.org> Date: Tue, 3 Oct 2023 14:52:57 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: buildworld: specifying an alternate make.conf To: questions@freebsd.org References: <4249ee95-5081-4d4d-943c-3a6948ba4af7@nebelschwaden.de> Content-Language: en-GB From: Matthew Seaman Autocrypt: addr=m.seaman@infracaninophile.co.uk; keydata= xsFNBFJIL80BEADi7/VbnnErDU6pjEhI/SzEZ/HbDRkJ5g7HroAtqIRm6nj8ZwOAgZ/2ZnWn 5F+fXTuLsG0FLNtkd17FoVcuCi5e/GPliXI5cmamV7E1Yz4T8UsJ7RQolimyxVexccKd16Tc AA7B9bFlJSKkBUSD0buj7VjT07xWhRzu6Vgi5r0UjLALYJz977uZA0F1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ANvbJ7n856/r6AQANucYy3bVJ0obU75 5AXMVIMj1nRA6LU9u+lAnYb+wMSVHXkNrW8GssqmiUGL0hJ0HNRXJLeI85YMhvXTmVYk0JqF LRp0Kj3aMbtaouCIbYTn2aaczwGViu3aQmgQe2ki+KrzxwYyG8FkHRp43+FTuBeYs6wbA36F g3eCp+Icx6X9evEeOajrgsaDr2badP9nHCYb/If1E57VC0pgx2R2/eBAtN5dlCWfgg5wJ0cI JUg3TJT4GPnumk7kLUN7U3ORQSQldiSvOBi6gpY0i8UCbmG6R5qs363J1cY7ry/enjg7GVA8 glu2Z+EHcZrEFAhvpmI+pkoyKCR0/KCv+s0rqQ5t606uquS15sr8NW2YejbeOOaEvNscKx8L QAFMaPxS/6DX+BsFAFXVWLwW/9wdaETDURf7i0EnT4xklmyyWeYMEF7mZ1x5OXdV/hAE1SFS nyuqs2SAYnpa81QQ4Eo1yehyntgdHSaOdSz3Fw7dFIiAXHvwBYf6rvTwF2MG6v3iQ+dgRv1N r+okN0LLmBjh1aYS43fvPXbwB0aBzVJZYO+a5AkPkabvblLaA1pl+V+BMUpAQhuxrDM7wsf0 6i8RpF5MjrZr12DsU2moFR2oYOmwtWBt+yI8zuYbbZ1uLR5bmyU7QquRPmQHPHrHp6mHCJfu zOyJzcEbUOrc6WHFOLbe In-Reply-To: <4249ee95-5081-4d4d-943c-3a6948ba4af7@nebelschwaden.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 03/10/2023 13:48, Ede Wolf wrote: > to my understanding of man make and make.conf, which admittedly is very > limited, I should be able to specify an alternate make.conf with this > syntax: > > # make -D __MAKE_CONF=/make.conf buildworld > > Now, since this looks somewhat strage - nowhere else I have found make > variables with double underscores - and before wasting hours of > compiling, I am wondering, is above correct? Or did I miss[understand] > anything? Adding a leading underscore to a variable name is a common idiom for "this variable is implementation defined, do not mess with it." Two underscores re-emphasizes all that, and typically means the value is considered private and internal -- useful in languages which have no built-in capability to hide their internals. In your case, however, it seems that overriding __MAKE_CONF really is the documented method of pointing your build environment at a different make.conf file. Presumably the concept was that almost everyone would just edit /etc/make.conf to suit themselves, and almost no-one would ever need to switch between alternative make.conf files. Note: if you're trying to configure building the base system, then you probably want to customize /etc/src.conf as described in the src.conf(5) man page. There's a lot of overlap between make.conf and src.conf, but make.conf also affects building ports whereas src.conf only applies to building the base system. Cheers, Matthew