From owner-svn-doc-head@FreeBSD.ORG Wed May 30 02:18:30 2012 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EF781065670; Wed, 30 May 2012 02:18:30 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0802C8FC0C; Wed, 30 May 2012 02:18:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4U2ITJJ019300; Wed, 30 May 2012 02:18:29 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4U2ITal019298; Wed, 30 May 2012 02:18:29 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201205300218.q4U2ITal019298@svn.freebsd.org> From: Glen Barber Date: Wed, 30 May 2012 02:18:29 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r38939 - head/en_US.ISO8859-1/articles/portbuild X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.5 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 May 2012 02:18:30 -0000 Author: gjb Date: Wed May 30 02:18:29 2012 New Revision: 38939 URL: http://svn.freebsd.org/changeset/doc/38939 Log: Add the "New Codebase" section of the Port Build article. Written/provided by: linimon Modified: head/en_US.ISO8859-1/articles/portbuild/article.sgml Modified: head/en_US.ISO8859-1/articles/portbuild/article.sgml ============================================================================== --- head/en_US.ISO8859-1/articles/portbuild/article.sgml Wed May 30 00:33:27 2012 (r38938) +++ head/en_US.ISO8859-1/articles/portbuild/article.sgml Wed May 30 02:18:29 2012 (r38939) @@ -221,6 +221,111 @@ each pass of the dopackages script. + + + New Codebase + + For both commands above, if + ${buildid} is + latest, it may be omitted. + + + + + + Customizing Your Build + + (The following only applies to the new codebase.) + + You can customize your build by providing local versions of + make.conf and/or + src.conf, + named + ${arch}/${branch}/builds/${buildid}/make.conf.server + and + ${arch}/${branch}/builds/${buildid}/src.conf.server, + respectively. These will be used in lieu of the default-named + files on the server side. + + Similarly, if you wish to also affect the client-side + make.conf, you may use + ${arch}/${branch}/builds/${buildid}/make.conf.client. + + + + Due to the fact that individual clients may each have + their own per-host make.conf, the + contents of + ${arch}/${branch}/builds/${buildid}/make.conf.client + will be appended to that + make.conf, not supplant it, as is done + for + ${arch}/${branch}/builds/${buildid}/make.conf.server. + + + + There is no similar functionality for + ${arch}/${branch}/builds/${buildid}/src.conf.client + (what effect would it have?). + + + + Sample + <filename>make.conf.<replaceable>target</replaceable></filename> + to test new default <application>ruby</application> + version + + (For this case, the contents are identical for both server + and client.) + + RUBY_DEFAULT_VER= 1.9 + + + + Sample + <filename>make.conf.<replaceable>target</replaceable></filename> + for <application>clang</application> builds + + (For this case, the contents are also identical for both + server and client.) + + +.if !defined(CC) || ${CC} == "cc" +CC=clang +.endif +.if !defined(CXX) || ${CXX} == "c++" +CXX=clang++ +.endif +.if !defined(CPP) || ${CPP} == "cpp" +CPP=clang-cpp +.endif +# Don't die on warnings +NO_WERROR= +WERROR= + + + + + Sample <filename>make.conf.server</filename> for + <application>pkgng</application> + + WITH_PKGNG=yes +PKG_BIN=/usr/local/sbin/pkg + + + + Sample <filename>make.conf.client</filename> for + <application>pkgng</application> + + WITH_PKGNG=yes + + + + Sample <filename>src.conf.server</filename> + to test new <application>sort</application> codebase + + WITH_BSD_SORT=yes +