From owner-freebsd-questions@FreeBSD.ORG Fri May 25 01:52:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 405341065676 for ; Fri, 25 May 2012 01:52:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D60118FC0C for ; Fri, 25 May 2012 01:52:42 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q4P1qdY3057490; Thu, 24 May 2012 19:52:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q4P1qdgK057487; Thu, 24 May 2012 19:52:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 24 May 2012 19:52:39 -0600 (MDT) From: Warren Block To: Gary Aitken In-Reply-To: <4FBEE05A.6000909@dreamchaser.org> Message-ID: References: <4FBBF32D.9070505@dreamchaser.org> <20120522234510.a406941d.goksin.akdeniz@gmail.com> <4FBD7BA0.7070502@dreamchaser.org> <4FBEE05A.6000909@dreamchaser.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 24 May 2012 19:52:39 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: automating menu options in ports (and other ports build questions) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 01:52:43 -0000 On Thu, 24 May 2012, Gary Aitken wrote: > 1. When building a port, the system uses sysinstall to set options for the > build. ncurses, not systinstall, but yes. > How does one configure those options so make can be run unattended? > I didn't see anything in the ports documentation, but maybe I'm blind. In > particular, how does one configure a dependent port for the options you want > whenever it is built as part of a higher-level build? make config-recursive > 4. Is there a discussion anywhere of whether or not one should turn on > various optimizations? If these aren't turned on by default, but are safe, > why aren't they the default? Is this a cross-platform build issue, and the > default is to build for cross-platform? In general, if a port can benefit from certain optimizations, it will have an option for that. Setting optimizations system-wide breaks that. And the optimizations that many people try turn out to be detrimental. > 5. It looks like the options which show up using sysinstall are from the > OPTIONS variable in the Makefile. Is there any convention for where to find > out more about the option other than the often useless text hint provided in > the menu? > e.g. gvfs has an option called > FUSE Enable fuse > which doesn't say which of the several software systems called FUSE this > refers to > e.g. OPENGL Use OpenGL graphics > doesn't say much about why you would want to do that, > what the opengl option actually does, ramifications, > whether it will help only if your graphics card / driver supports it, > etc. Mostly you would have to look in the Makefile and possibly in the application source for these. > Or is this a documentation project in the offing? Well, there's ports(7), and some related chapters in the Handbook.