From owner-freebsd-ports@FreeBSD.ORG Sat Oct 6 05:13:53 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49F0C106564A for ; Sat, 6 Oct 2012 05:13:53 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id F13438FC08 for ; Sat, 6 Oct 2012 05:13:52 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id i29so1029485qaf.13 for ; Fri, 05 Oct 2012 22:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=jcr98iYfSIHHjxmMyO4ophgSQ9y1vDrSPSCiRA/1Rjs=; b=ms4EcB6oqYhwm7tNRxJyW+iy1ByV0JgK9tkM2CvUfNGZtkXM4XQHpdP5jMGXNuMsC6 CvU3v8dlsW3OALHXR//l5KtYH6RmgvSaGtxy1nX8gpvdYBSQzzFyPfMzX8bUOz1FGEu9 WX56wXiyXAP6GG5ANwTHNhezA00q0soVCD2N7hIk53LMze0hg5wvqnJOQcLKFd+hydn2 x3Q+1JrkwyAGCI9vHdW2654mGVdmV/veWY/bWKZRQJECcvVrjlxW05GZv7XoWtP2LLL3 TRlQ/YDYvxBDiRW9PLBjIoI2NT1sNJuZicvaSd8VBJ+SI3+Eq4iN9mZ7cdKmo/OD0A6J A/WQ== Received: by 10.224.78.140 with SMTP id l12mr20455428qak.48.1349500432195; Fri, 05 Oct 2012 22:13:52 -0700 (PDT) Received: from mocha.verizon.net (c-71-61-40-68.hsd1.oh.comcast.net. [71.61.40.68]) by mx.google.com with ESMTPS id a8sm11956115qew.11.2012.10.05.22.13.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Oct 2012 22:13:51 -0700 (PDT) Sender: "Jason E. Hale" From: "Jason E. Hale" To: freebsd-ports@freebsd.org, Paul Schmehl Date: Sat, 06 Oct 2012 01:13:49 -0400 Message-ID: <3042995.QlesYJZztz@mocha.verizon.net> User-Agent: KMail/4.8.4 (FreeBSD/9.0-RELEASE-p3; KDE/4.8.4; i386; ; ) In-Reply-To: <3D7A4CDD9A4D443F0689F6BD@Pauls-MacBook-Pro.local> References: <3D7A4CDD9A4D443F0689F6BD@Pauls-MacBook-Pro.local> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: New OPTIONS structure - deselect all 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: Sat, 06 Oct 2012 05:13:53 -0000 On Friday, October 05, 2012 22:52:05 Paul Schmehl wrote: > I'm working on updating the barnyard2 port, and I'm changing the port to > use the new OPTIONS structure. It seems no matter what I do, the first > port OPTION is automatically selected. > > I've tried OPTIONS_DEFAULT=, OPTIONS_DEFAULT= none, and not using > OPTIONS_DEFAULT at all. I do not want the first OPTION selected. I want > them all deselected so the person installing can choose the appropriate > ones for their situation. > > What's the secret sauce for this? I've looked through bsd.options.mk, but > I can't see it. > If you want all options deselected by defaut, either use OPTIONS_DEFAULT= #empty or don't define it at all. NLS, DOCS, and EXAMPLES are on by default even if they are not in OPTIONS_DEFAULT. If you are getting something other than this in your tests, make sure you don't have anything in /etc/make.conf to set the unwanted options. Also run #make rmconfig to make sure you are starting clean. Otherwise, it would be helpful to see what you have so far in the Makefile...pastebin it or attach it. - Jason