From owner-freebsd-ports@FreeBSD.ORG Sun Mar 17 16:15:42 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6671E50D for ; Sun, 17 Mar 2013 16:15:42 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x22c.google.com (mail-ia0-x22c.google.com [IPv6:2607:f8b0:4001:c02::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7D2886 for ; Sun, 17 Mar 2013 16:15:42 +0000 (UTC) Received: by mail-ia0-f172.google.com with SMTP id l29so4632857iag.3 for ; Sun, 17 Mar 2013 09:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UNpnRIuekcqyqq0XB2AjsrmFEnHUdFT1jVZR/0aQn0g=; b=gWxql3IaGBopKRaVbRhcW2561qjXCCV2ozPJYhpQj6DZ3V1DDGrFTnWTT605OglShK 1ctzF1Q74d2lfTa+fa/TjyB80vUDBhWZNmsbhZh0Dsx58q2izQfx0b4ypw+K5U0gUFpJ sVZTZaQndrxlzi4ObEdmRgBLRFDEw/XuTnksvesyTOSSbmCCigrMiiJIxe1bhROY9Jnn rpiVByYgAf1+cF2Y1Ldu9h7iUCt/p7aZLc6hSj8XHZdOhJEazwW/1r99umIdJJdkdH1E o3+r2Jgrdsd0VmuqgVR45se236kU2gc0zO689v6OB2IAR3p1DotTkxlHsSYv6QnArlWe rBEw== MIME-Version: 1.0 X-Received: by 10.50.197.170 with SMTP id iv10mr4704293igc.62.1363536940618; Sun, 17 Mar 2013 09:15:40 -0700 (PDT) Received: by 10.64.63.12 with HTTP; Sun, 17 Mar 2013 09:15:40 -0700 (PDT) Received: by 10.64.63.12 with HTTP; Sun, 17 Mar 2013 09:15:40 -0700 (PDT) In-Reply-To: <5145E47D.4050201@executive-computing.de> References: <5145B415.80303@executive-computing.de> <5145C9DC.6010300@infracaninophile.co.uk> <5145E47D.4050201@executive-computing.de> Date: Sun, 17 Mar 2013 16:15:40 +0000 Message-ID: Subject: Re: OPTIONSng: Overide options in /var/db/ports/*/options ? From: Chris Rees To: Marco Steinbach Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2013 16:15:42 -0000 On 17 Mar 2013 15:45, "Marco Steinbach" wrote: > > Matthew Seaman wrote on 17.03.2013 14:49: > >> On 17/03/2013 12:16, Marco Steinbach wrote: >>> >>> Hi, >>> >>> is there a way to overide options stored in /var/db/ports/*/options, >>> basically getting back the pre-OPTIONSng behaviour of being able to >>> overide port options in /etc/make.conf ? >>> >>> Before OPTIONSng was introduced, I was able to specify options in >>> /etc/make.conf (WITHOUT_X11, WITHOUT_CUPS, WITH_MAILHEAD, WITH_SSL, >>> WITH_MYSQL, WITH_DOVECOT, ...), which then overode any occurency of that >>> option in any port (or just specific ones, by e.g. checking .CURDIR), >>> regardless of the setting the ports option file contained. >> >> >> Find the uniquename of the port[*] (by 'make -V UNIQUENAME') then in >> /etc/make.conf >> >> uniquename_SET= FOO BAR BAZ >> uniquename_UNSET= BLURFL >> >> will override the default settings in that port's Makefile for the FOO, >> BAR, BAZ and BLURFL options. >> >> Note: this won't override any settings you make from an options dialog. >> Might be a good idea to 'make rmconfig' if you only want to rely on >> /etc/make.conf > > > [...] > > Exactly my point. Currently, with OPTIONSng there seems to be no way to overide anything in /var/db/ports/*/options. > > I find it irritating, that I no longer can be sure about options in /etc/make.conf. I have to check/reconfigure to make sure. > > As much as I like OPTIONSng (especially in combination with dialog4ports), this is one thing I'd very much like OPTIONSng to relearn: Enforce options regardless of what's in a ports options file. No, that's a bad idea. It's more confusing to have options not being set that are checked in the OPTIONS dialog. Setting those in make.conf sets defaults, and allows them to be overridden in individual ports. Chris