From owner-svn-doc-head@FreeBSD.ORG Thu Mar 6 18:47:06 2014 Return-Path: Delivered-To: svn-doc-head@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 49AD7E27; Thu, 6 Mar 2014 18:47:06 +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 1CAA1B39; Thu, 6 Mar 2014 18:47:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s26Il5aI043987; Thu, 6 Mar 2014 18:47:05 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s26Il59P043986; Thu, 6 Mar 2014 18:47:05 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201403061847.s26Il59P043986@svn.freebsd.org> From: Mathieu Arnold Date: Thu, 6 Mar 2014 18:47:05 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44157 - head/en_US.ISO8859-1/books/porters-handbook/makefiles 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.17 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: Thu, 06 Mar 2014 18:47:06 -0000 Author: mat (ports committer) Date: Thu Mar 6 18:47:05 2014 New Revision: 44157 URL: http://svnweb.freebsd.org/changeset/doc/44157 Log: Add comments to the examples to show what some options helper will do. 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 Thu Mar 6 18:39:20 2014 (r44156) +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml Thu Mar 6 18:47:05 2014 (r44157) @@ -3516,6 +3516,7 @@ BAR_DESC= Support feature bar OPTIONS_DEFAULT=FOO +# Will add --with-foo / --without-foo FOO_CONFIGURE_WITH= foo BAR_RUN_DEPENDS= bar:${PORTSDIR}/bar/bar @@ -3533,7 +3534,8 @@ CONFIGURE_ARGS+=--without-examples Though, you should use the following so that the configure knob is really enabled and disabled when the option is. - EXAMPLES_CONFIGURE_WITH= examples + # Will add --with-examples / --without-examples +EXAMPLES_CONFIGURE_WITH= examples @@ -3558,10 +3560,12 @@ SSL_DESC= Build with OpenSSL support OPTIONS_DEFAULT= PGSQL LDAP SSL PGSQL_USE= pgsql=yes -PGSQL_CONFIGURE_WITH= postgres +# Will add --enable-postgres / --disable-postgres +PGSQL_CONFIGURE_ENABLE= postgres ICU_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu +# Will add --with-examples / --without-examples EXAMPLES_CONFIGURE_WITH= examples # Check other OPTIONS @@ -3639,6 +3643,7 @@ CONFIGURE_ARGS+= --enable-foo Correct Handling of an Option FOO_LIB_DEPENDS= libfoo.so:${PORTSDIR}/devel/foo +# Will add --enable-foo / --disable-foo FOO_CONFIGURE_ENABLE= foo