From owner-freebsd-ports@FreeBSD.ORG Mon Jun 4 11:29:44 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10719106566B; Mon, 4 Jun 2012 11:29:44 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB818FC16; Mon, 4 Jun 2012 11:29:43 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B4F9B28427; Mon, 4 Jun 2012 13:29:41 +0200 (CEST) Received: from [192.168.1.2] (static-84-242-120-26.net.upcbroadband.cz [84.242.120.26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id CCC0928426; Mon, 4 Jun 2012 13:29:40 +0200 (CEST) Message-ID: <4FCC9C24.5070001@quip.cz> Date: Mon, 04 Jun 2012 13:29:40 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Baptiste Daroussin References: <4FCBF310.3090607@FreeBSD.org> <4FCC862F.9080203@quip.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Doug Barton , Bernhard Froehlich , FreeBSD ports list Subject: Re: New OPTIONS and make.conf knobs 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, 04 Jun 2012 11:29:44 -0000 Bernhard Froehlich wrote: > On 04.06.2012 11:55, Miroslav Lachman wrote: >> There is another problem with options and portmaster. >> >> I have WITHOUT_X11=yes in make.conf and if I try to install >> emulators/virtualbox-ose for the first time it immediately ends with >> error message instead of showing options dialog. >> >> -------------------------------------------------------- >> # portmaster 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! >> >> >> ===>>> If you are sure you can build it, remove the >> BROKEN line in the Makefile and try again. >> Terminated >> -------------------------------------------------------- >> >> >> I don't know the order of processing options / knobs so I don't know >> if this is the problem of portmaster, OPTIONSng or Makefile it-self. >> >> To fix this problem, I must manually run `make config` in ports >> directory and uncheck QT4, then run portmaster again. > > That is not a bug at all. It was that way for the last 2 years and still > is. The virtualbox ports do not use the new optionsng stuff yet and the > problem that you are seeing is just because QT4 GUI without X11 doesn't > make sense. If you don't want X11 you also don't want QT4. Yes, that's right. But I am confused why portmaster does not show the options dialog to let user uncheck QT4? What I expect is: - run portmaster - show dialog with unchecked X11 - let user uncheck QT4 - save options in /var/db/ports - show error about conflicting options Now is: - run portmaster - show error about conflicting options I don't know if it can be solved by portmaster, ports framework or anything else. Miroslav Lachman