From owner-freebsd-ports@FreeBSD.ORG Mon Aug 6 16:04:27 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 349E4106566C for ; Mon, 6 Aug 2012 16:04:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1B17F8FC0C for ; Mon, 6 Aug 2012 16:04:26 +0000 (UTC) Received: from omta15.emeryville.ca.mail.comcast.net ([76.96.30.71]) by qmta12.emeryville.ca.mail.comcast.net with comcast id jPXB1j0031Y3wxoACU4SZT; Mon, 06 Aug 2012 16:04:26 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta15.emeryville.ca.mail.comcast.net with comcast id jU4R1j00B1t3BNj8bU4RhB; Mon, 06 Aug 2012 16:04:26 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8360A73A1A; Mon, 6 Aug 2012 09:04:25 -0700 (PDT) Date: Mon, 6 Aug 2012 09:04:25 -0700 From: Jeremy Chadwick To: freebsd-ports@freebsd.org Message-ID: <20120806160425.GA23270@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Questions about/issues with new OPTIONS framework 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, 06 Aug 2012 16:04:27 -0000 (Please keep me CC'd, as I'm not subscribed to the list) I've been trying to adapt my /etc/make.conf to make use of the new OPTIONS framework. I've run into some snags that I was hoping someone could help me with, as I'm unable to find any "official" documentation other than these two documents, which don't help me in this case: http://wiki.freebsd.org/Ports/Options/OptionsNG http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html Below are my questions so far. Note that these questions are all preceded by a key fact: /var/db/ports/* is completely empty. Keep that in mind please. 1. databases/mysql55-server and databases/mysql55-client both ask for the same variables (OPENSSL and FASTMTX). I want FASTMTX to be enabled by default for both ports. When I have the following in /etc/make.conf: mysql_SET= FASTMTX Doing "make config" in databases/mysql55-server shows FASTMTX as checked (which is correct). However, when I do the exact same procedure in databases/mysql55-client, FASTMTX is not checked. I am aware that databases/mysql55-client is a slave port, but I'm not sure how/why that would matter...? What am I doing wrong, or is this a port bug which needs to be fixed by the maintainer? 2. ports/KNOBS is very explicit in stating, and even visually demonstrating (using pipe symbols to delimit length maximums and so on), the following: # - Knob description must be 45 characters or less Yet, a very good number of descriptions violate this (see the file for yourself). I'm inclined to think the limit is to be extra friendly towards 80-column terminals, but I'm still not sure. Is this 45-character-limit untrue, or are numerous descriptions blatantly too long? Thanks. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |