From owner-svn-doc-head@freebsd.org Fri Nov 3 15:15:04 2017 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C6B8E545A0; Fri, 3 Nov 2017 15:15:04 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 26ECC67E87; Fri, 3 Nov 2017 15:15:04 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA3FF3GK005970; Fri, 3 Nov 2017 15:15:03 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA3FF3hK005969; Fri, 3 Nov 2017 15:15:03 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201711031515.vA3FF3hK005969@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 3 Nov 2017 15:15:03 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51175 - head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Group: doc-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/makefiles X-SVN-Commit-Revision: 51175 X-SVN-Commit-Repository: doc 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.23 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: Fri, 03 Nov 2017 15:15:04 -0000 Author: mat Date: Fri Nov 3 15:15:02 2017 New Revision: 51175 URL: https://svnweb.freebsd.org/changeset/doc/51175 Log: Add a variablelist with all the options helpers. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Nov 3 15:15:00 2017 (r51174) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Fri Nov 3 15:15:02 2017 (r51175) @@ -6010,7 +6010,134 @@ FOO_CONFIGURE_ENABLE= foo Options Helpers There are some macros to help simplify conditional values - which differ based on the options set. + which differ based on the options set. For easier access, a + list is provided in the list bellow: + + + + PLIST_SUB, + SUB_LIST + + + See . + + + + + CONFIGURE_ARGS + + + For + --enable-x + and + --disable-x, + see . + + For + --with-x + and + --without-x, + see . + + For all other cases, see . + + + + + CMAKE_ARGS + + + For arguments that are booleans + (on, off, + true, false, + 0, 1) see . + + For all other cases, see . + + + + + MESON_ARGS + + For arguments that take true or + false, see . + + For arguments that take yes or + no, use . + + For all other cases, use . + + + + + QMAKE_ARGS + + + See . + + + + + USE_* + + + See . + + + + + *_DEPENDS + + + See . + + + + + * (Any variable) + + + The most used variables have direct helpers, see + . + + For any variable without a specific helper, see + . + + + + + Options dependencies + + + When an option need another option to work, see + . + + + + + Options conflicts + + + When an option cannot work if another is also + enabled, see . + + + + + Build targets + + + When an option need some extra processing, see . + + + <varname>OPTIONS_SUB</varname>