From owner-svn-doc-all@FreeBSD.ORG Fri Nov 22 16:34:57 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4E97F7B; Fri, 22 Nov 2013 16:34:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA8EA2F58; Fri, 22 Nov 2013 16:34:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAMGYvKl058985; Fri, 22 Nov 2013 16:34:57 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAMGYvws058984; Fri, 22 Nov 2013 16:34:57 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201311221634.rAMGYvws058984@svn.freebsd.org> From: Rene Ladan Date: Fri, 22 Nov 2013 16:34:57 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43217 - head/en_US.ISO8859-1/books/porters-handbook X-SVN-Group: doc-head 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.16 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: Fri, 22 Nov 2013 16:34:58 -0000 Author: rene Date: Fri Nov 22 16:34:57 2013 New Revision: 43217 URL: http://svnweb.freebsd.org/changeset/doc/43217 Log: Add a description for USES=compiler. Reviewed by: bapt Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses.xml Fri Nov 22 15:29:45 2013 (r43216) +++ head/en_US.ISO8859-1/books/porters-handbook/uses.xml Fri Nov 22 16:34:57 2013 (r43217) @@ -60,6 +60,42 @@ + compiler + (none), c++11-lang, + c++11-lib, c11, + openmp, features + + Determines which compiler to use based on any given wishes. + Use c++11-lang if the port needs a C+11-capable + compiler, and c++11-lib if the port also needs + a C++11-ready standard library. If the port needs a compiler + understanding C11 or OpenMP, the corresponding parameters can 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 results + using these variables: + + COMPILER_TYPE: the default + compiler on the system, either gcc or clang + ALT_COMPILER_TYPE: the + alternative compiler on the system, either gcc or clang. + Only set if two compilers are present in the base + system. + COMPILER_VERSION: the first two + digits of the version of the default + compiler. + ALT_COMPILER_VERSION: the first + two digits of the version of the alternative compiler, if + present. + CHOSEN_COMPILER_TYPE: the + chosen compiler, either gcc or clang + COMPILER_FEATURES: the features + supported by the default compiler. It currently lists the + C++ library. + + + + desktop-file-utils (none)