From owner-freebsd-ports@FreeBSD.ORG Mon Sep 15 20:25:21 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47DDD106564A for ; Mon, 15 Sep 2008 20:25:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8D85B8FC14 for ; Mon, 15 Sep 2008 20:25:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 964 invoked by uid 399); 15 Sep 2008 19:58:40 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Sep 2008 19:58:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <48CEBE6E.1030508@FreeBSD.org> Date: Mon, 15 Sep 2008 12:58:38 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: John Baldwin References: <200809151036.19674.jhb@freebsd.org> In-Reply-To: <200809151036.19674.jhb@freebsd.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: OPTIONS handling doesn't seem to work fully in dependencies anymore X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 20:25:21 -0000 John Baldwin wrote: > So I upgraded my desktop machine at home from 6.x -> 7.x this weekend. As > part of that I do my usual (albeit archaic) practice of just deleting all > packages and rebuilding everything from ports. I also decided to try out > kde4 instead of kde3. I "discovered" during this process that ports that > were built as dependencies no longer pop up the dialog box to set OPTIONS, > etc. during a build. Only the "top-level" port does so. I'm curious if this > is a bug or a feature? Bug, and at first glance I think your analysis is correct about the cause. You can work around this problem by using portmaster since it will go through all the config screens for all the ports in its first pass before it starts building things (and download distfiles in the bg while it does so). This also takes dependencies into account since it does a depth-first traversal of the tree. If you're doing an install from scratch you might also want to blow away the contents of /var/db/ports/*, or if you're using portmaster you could use the --force-config option to re-run config even if there is a stored options file for that port. hth, Doug -- This .signature sanitized for your protection