From owner-freebsd-questions@FreeBSD.ORG Thu Apr 16 19:24:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418151065674 for ; Thu, 16 Apr 2009 19:24:54 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id F03B28FC13 for ; Thu, 16 Apr 2009 19:24:53 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (gate.lan.rachie.is-a-geek.net [192.168.2.10]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 3E1357E818; Thu, 16 Apr 2009 11:24:50 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 16 Apr 2009 21:24:47 +0200 User-Agent: KMail/1.11.0 (FreeBSD/8.0-CURRENT; KDE/4.2.0; i386; ; ) References: <49E274F5.4030001@onetel.com> <200904161227.04972.mel.flynn+fbsd.questions@mailing.thruhere.net> <200904161452.34650.j.mckeown@ru.ac.za> In-Reply-To: <200904161452.34650.j.mckeown@ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904162124.48068.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Jonathan McKeown Subject: Re: make run-depends-list-recursive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 19:24:54 -0000 On Thursday 16 April 2009 14:52:34 Jonathan McKeown wrote: > On Thursday 16 April 2009 12:27:04 Mel Flynn wrote: > > But yes, all-depends-list is exactly that, with the provision > > that it does not take changed OPTIONS into account. > > That's what I suspected you were saying yesterday, and it seems to be > wrong. No, you misunderstood. > Try this (assuming you haven't already configured/installed net/freeradius2 > and security/krb5) > > cd /usr/ports/net/freeradius2 > make all-depends-list > make config # select Kerberos > make all-depends-list > make -C /usr/ports/security/krb5 config # unselect documentation for > krb5 make all-depends-list > make -C /usr/ports/security/krb5 rmconfig > make rmconfig Correct. But... make -C /usr/ports/net/freeradius2 rmconfig make -C /usr/ports/net/freeradius2 all-depends-list make -C /usr/ports/net/freeradius2 install Now you're presented with the config dialog and your calculated diskpace may be off. That's what I meant with all-depends-list surpressing config target. You also cannot check for /var/db/ports/*/options file being present, because config-conditional not only checks for the presence of the file, but also if options have been removed/deleted and will represent you with the config dialog if so. So, all in all, when diskspace is critical and you want unattended installation after properly configuring the ports, you will want to read out the variables /after/ calling config-conditional and recurse through the list. -- Mel