From owner-svn-doc-all@freebsd.org Mon Jun 4 22:43:06 2018 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31F78FDE5A9; Mon, 4 Jun 2018 22:43:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D438A6B229; Mon, 4 Jun 2018 22:43:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B6B7013B4D; Mon, 4 Jun 2018 22:43:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w54Mh5Uq029549; Mon, 4 Jun 2018 22:43:05 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w54Mh5sA029548; Mon, 4 Jun 2018 22:43:05 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201806042243.w54Mh5sA029548@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Mon, 4 Jun 2018 22:43:05 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51775 - head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Group: doc-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/uses X-SVN-Commit-Revision: 51775 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 22:43:06 -0000 Author: linimon Date: Mon Jun 4 22:43:05 2018 New Revision: 51775 URL: https://svnweb.freebsd.org/changeset/doc/51775 Log: The text describing compiler.mk was unclear. Add explanatory text for c++11-lang, and remove a bogus choice. Reviewed by: mat Approved by: mat Differential Revision: D14804 Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Mon Jun 4 18:37:37 2018 (r51774) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Mon Jun 4 22:43:05 2018 (r51775) @@ -277,7 +277,8 @@ <literal>compiler</literal> - Possible arguments: (none), c++14-lang, + Possible arguments: (none), env + (default, implicit), c++14-lang, c++11-lang, gcc-c++11-lib, c++11-lib, c++0x, c11, openmp, @@ -285,12 +286,16 @@ Determines which compiler to use based on any given wishes. Use c++14-lang if the port needs a - C++14-capable compiler, gcc-c++11-lib if the + C++14-capable compiler, c++11-lang + if the port needs a C++11-capable compiler, + gcc-c++11-lib if the port needs the g++ compiler with a C++11 library, or c++11-lib if the port needs a C++11-ready standard library. If the port needs a compiler - understanding C++11, C++0X, C11, OpenMP, or nested functions, - the corresponding parameters can be used. Use + understanding C++0X, C11, OpenMP, or nested functions, + the corresponding parameters should be used. + + Use features to request a list of features supported by the default compiler. After including bsd.port.pre.mk the port can inspect the