Date: Thu, 6 Mar 2014 18:47:05 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> 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 Message-ID: <201403061847.s26Il59P043986@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <para>Though, you should use the following so that the configure knob is really enabled and disabled when the option is.</para> - <programlisting>EXAMPLES_CONFIGURE_WITH= examples</programlisting> + <programlisting># Will add --with-examples / --without-examples +EXAMPLES_CONFIGURE_WITH= examples</programlisting> </example> <example xml:id="ports-options-practical-use"> @@ -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 <title>Correct Handling of an Option</title> <programlisting>FOO_LIB_DEPENDS= libfoo.so:${PORTSDIR}/devel/foo +# Will add --enable-foo / --disable-foo FOO_CONFIGURE_ENABLE= foo</programlisting> </example>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403061847.s26Il59P043986>