From owner-freebsd-ports@FreeBSD.ORG Wed Sep 17 05:27:27 2008 Return-Path: Delivered-To: ports@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id CE36E1065673; Wed, 17 Sep 2008 05:27:27 +0000 (UTC) Date: Wed, 17 Sep 2008 05:27:27 +0000 From: Alexey Dokuchaev To: Doug Barton Message-ID: <20080917052727.GA71514@FreeBSD.org> References: <200809151036.19674.jhb@freebsd.org> <48CEBE6E.1030508@FreeBSD.org> <48CFCE01.4050304@FreeBSD.org> <48D03248.1040109@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <48D03248.1040109@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, John Baldwin , Alex Dupre 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: Wed, 17 Sep 2008 05:27:27 -0000 On Tue, Sep 16, 2008 at 03:25:12PM -0700, Doug Barton wrote: > Alex Dupre wrote: > > Doug Barton ha scritto: > >> Bug, and at first glance I think your analysis is correct about the > >> cause. > > > > Surely a bug, but the mentioned code is what was added in rev 1.560 > > (http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk?r1=1.560#rev1.560) > > exactly to add this feature, and AFAIR it worked. > > The commit log refers to a different problem than John reported. The > commit log refers to the problem of a saved options file that doesn't > have all of the new OPTIONS for a new version of the port. > > John was referring to the problem of 'make config' not being called for > ports being installed as dependencies of a port that has OPTIONS. Nevertheless, going back to rev. 1.559 of b.p.m. restores correct behavior. Quite ironically, since commit logs tells us that "The end user impact of this is more blue screens." for rev. 1.560, which I tend to blame now. I also don't think that we can simply tell our users to user portmaster or some force-config switches. This bug is quite annoying, and should be fixed to work in vanilla environment environment with default settings. ./danfe