Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 09:41:56 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Baptiste Daroussin <bapt@freebsd.org>, Bernhard Froehlich <decke@FreeBSD.org>, FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: New OPTIONS and make.conf knobs
Message-ID:  <4FCE36D4.1040103@FreeBSD.org>
In-Reply-To: <4FCDEC9E.3040804@quip.cz>
References:  <4FCBF310.3090607@FreeBSD.org> <4FCC862F.9080203@quip.cz>	<bf8b2e6947239faea63a8edf65aae7fe@bluelife.at>	<4FCC9C24.5070001@quip.cz> <4FCD3800.4040305@FreeBSD.org> <4FCDEC9E.3040804@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/5/2012 4:25 AM, Miroslav Lachman wrote:
> Doug Barton wrote:
>> On 06/04/2012 04:29, Miroslav Lachman wrote:
>>> Yes, that's right. But I am confused why portmaster does not show the
>>> options dialog to let user uncheck QT4?
>>
>> There is code to do this if you use the --force-config option. I haven't
>> made that the default yet because it's a fairly complex part of the
>> code, and I'm not sure that making it the default won't do more harm
>> than good.
>>
>> Please try it and let me know how it goes for you.
> 
> It works with some minor problem...

Yeah, you've hit on the problem that prevents me from making this the
default.

> ----------------------------------------------------
> # portmaster --force-config emulators/virtualbox-ose
> 
> ===>>> Currently installed version: virtualbox-ose-4.1.16
> ===>>> Port directory: /usr/ports/emulators/virtualbox-ose
> 
>         ===>>> This port is marked BROKEN
>         ===>>> QT4 frontend requires X11 support. Run 'make config' again!
> ----------------------------------------------------
> 
> Then it waits for a second or two and then displays the dialog.
> 
> I unchecked the QT4, confirmed with OK button and then options dialog
> re-appeared again with my previously confirmed options.
> So I confirmed the dialog again and then installation continues in
> normal way.
> 
> Am I right, that --force-config will show options dialog even in cases
> where I already have stored options for given port?

Yes. By default it does 'make config-conditional' that will not pop up
the dialog if the options have not changed. --force-config runs plain
old 'make config'.

Glad to hear it got fixed for you at least,

Doug

-- 

    This .signature sanitized for your protection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCE36D4.1040103>