From owner-svn-doc-head@FreeBSD.ORG Wed Jan 30 03:14:07 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C97F6A8A; Wed, 30 Jan 2013 03:14:07 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id AD2A69E2; Wed, 30 Jan 2013 03:14:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0U3E7Rn064723; Wed, 30 Jan 2013 03:14:07 GMT (envelope-from wblock@svn.freebsd.org) Received: (from wblock@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0U3E75t064722; Wed, 30 Jan 2013 03:14:07 GMT (envelope-from wblock@svn.freebsd.org) Message-Id: <201301300314.r0U3E75t064722@svn.freebsd.org> From: Warren Block Date: Wed, 30 Jan 2013 03:14:07 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40809 - head/en_US.ISO8859-1/books/handbook/cutting-edge X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 03:14:07 -0000 Author: wblock Date: Wed Jan 30 03:14:07 2013 New Revision: 40809 URL: http://svnweb.freebsd.org/changeset/doc/40809 Log: Rewrite the outdated section explaining make.conf and add a section to mention the existence of src.conf. Warn users that these things, although shiny and strangely compelling, are also very sharp. PR: 172922 Modified: head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml Wed Jan 30 00:07:33 2013 (r40808) +++ head/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml Wed Jan 30 03:14:07 2013 (r40809) @@ -2167,25 +2167,37 @@ Fetching 133 new ports or files... done. make.conf - Examine the files - /usr/share/examples/etc/make.conf and - /etc/make.conf. The first contains some - default defines – most of which are commented out. To - make use of them when you rebuild your system from source, add - them to /etc/make.conf. Keep in mind - that anything you add to /etc/make.conf - is also used every time you run make, so it - is a good idea to set them to something sensible for your - system. - - A typical user will probably want to copy and uncomment - the NO_PROFILE line found in - /usr/share/examples/etc/make.conf - to /etc/make.conf. - - Examine the other definitions, like - NOPORTDOCS, - and decide if they are relevant to you. + &man.make.1; options are shown in &man.make.conf.5; and + /usr/share/examples/etc/make.conf. These + settings can be added to /etc/make.conf + to control the way &man.make.1; runs and how it builds + programs. Changes to some settings can have far-reaching and + potentially surprising effects. Read the comments in both + locations and keep in mind that the defaults have been chosen + for a combination of performance and safety. + + Options set in /etc/make.conf take + effect every time &man.make.1; is used, including compiling + applications from the Ports Collection or user-written C + programs, or building the &os; operating system itself. + + + + Check <filename>/etc/src.conf</filename> + + + src.conf + + + /etc/src.conf controls the building + of the operating system from source code. Unlike + /etc/make.conf, the contents of + /etc/src.conf only take effect when the + &os; operating system itself is being built. Descriptions of + the many options available for this file are shown in + &man.src.conf.5;. Be cautious about disabling seemingly + unneeded kernel modules and build options. Sometimes there + are unexpected or subtle interactions.