From owner-freebsd-questions@freebsd.org Sat Jan 30 22:31:43 2021 Return-Path: Delivered-To: freebsd-questions@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 4318C4FADE1 for ; Sat, 30 Jan 2021 22:31:43 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DSppk29Yxz3NKR for ; Sat, 30 Jan 2021 22:31:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm1-x335.google.com with SMTP id i9so10007918wmq.1 for ; Sat, 30 Jan 2021 14:31:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1cFpyiftQvBQG+fZ3aCcCrsODu1yhCSoGI6S9SjTulA=; b=jon5LtdrBHFPVxY9g/rGRnp9R1t+snsLASqQalKxwQtcO5bRBXHWVm/hXIFarvf5l7 3HGefVU8bXxQpuqnISJtEy+eyXa0FGdcm0RjRiEI9vknQJR8AC0NBcdNBGZhpC7du7u8 Vck+4356T5M1Z/wIX5aiyfKj9HVs0vrReVXrGXRYSa5JK/YNDP5Yx+I4KoWCuqmBh55o ELVJFAfn6EEtafO1fhVLqnDwTV5wbhZ4aoJ1NMMvC4Gi68PrZCUiUhzSHprlX053FR0n Egvddy1cRD6xLIfvd/xmyqYJUrxGhVdj4KhpV8Bt0XzL6CUgFfnHAJqnAOljUmkhkQKx B/NQ== X-Gm-Message-State: AOAM530PNJjraA49Q3w72lo4xI/CVs37Mlf/7fr3+riuWYbsM5ojxj2w 7we4WIEswAv2fASyn4U7vMlgpjT/++t20g== X-Google-Smtp-Source: ABdhPJwJXN/EnTiNMJyeCQFRr39OVaz0D13imN3O48xU5LM2H/4DWL2a4XeK1+WSka0o+Aysu4XTBQ== X-Received: by 2002:a05:600c:22c8:: with SMTP id 8mr7020556wmg.11.1612045901026; Sat, 30 Jan 2021 14:31:41 -0800 (PST) Received: from gumby.homeunix.com ([2.223.83.101]) by smtp.gmail.com with ESMTPSA id z63sm15794528wme.8.2021.01.30.14.31.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jan 2021 14:31:40 -0800 (PST) Date: Sat, 30 Jan 2021 22:31:39 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: make config-recursive for an individual port Message-ID: <20210130223139.44dc3483@gumby.homeunix.com> In-Reply-To: References: <5dfb1c4a-d7b3-2059-c76e-7cfd1490c812@dreamchaser.org> <20210130170828.0299f4b5@gumby.homeunix.com> <20210130171424.b9e0f55048c5c3b9cff042f5@sohara.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DSppk29Yxz3NKR X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[2.223.83.101:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::335:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::335:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2021 22:31:43 -0000 On Sat, 30 Jan 2021 10:43:42 -0700 Gary Aitken wrote: > On 1/30/21 10:14 AM, Steve O'Hara-Smith wrote: > > On Sat, 30 Jan 2021 17:08:28 +0000 > > RW via freebsd-questions wrote: > > > >> Because that's what the "-recursive" part means - configure the > >> current port and anything it depends on. When you "make install" > >> it will build the dependencies that aren't already installed. > > I understand the -recursive will configure dependent ports. What I > don't understand is why it would configure dependent ports which are > already installed, since they will not be reinstalled. Because you asked it to by using the 'config-recursive' target rather than 'config'. The config-recursive target is a lot older than pkg(8) and it's not optimised for what you are trying to do. Probably what you want is: make config make -DBATCH install or just the second line if you want the default options for the current port. As already mentioned running "make missing" and pre-installing missing packages with pkg(8) makes sense if you want to save time, though not necessarily effort. Once you have the dependencies installed it will probably be straightforward to maintain it, with pkg upgrade handling the dependencies.