diff --git a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml index effafd103b..68e0074a46 100644 --- a/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -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