On 2015/09/12 13:43, Daniel Jakots wrote:
> Hi,
> 
> I think it's worth mentioning how flavors can be built.

This part makes sense.

> While there, I don't think it's possible to make install without
> being root, is it?

It's possible if SUDO is set in mk.conf. The problem with showing
this command being run as root is that, if the port wasn't already
built, somebody following this might build the whole thing as root
- this is very much not recommended..



> 
> Index: ports.html
> ===================================================================
> RCS file: /cvs/www/faq/ports/ports.html,v
> retrieving revision 1.31
> diff -u -p -u -p -r1.31 ports.html
> --- ports.html        21 Jul 2015 15:45:05 -0000      1.31
> +++ ports.html        12 Sep 2015 10:00:47 -0000
> @@ -676,6 +676,12 @@ $ <b>make show=FLAVORS</b>
>  You should also look at the port's <tt>DESCR</tt> files, as they're supposed 
> to
>  explain the available flavors.
>  
> +It is possible to install a specific flavor.
> +
> +<blockquote><pre>
> +# <b>env FLAVORS="no_x11" make install</b>
> +</pre></blockquote>
> +
>  <p>
>  The second mechanism is called <b>subpackages</b>.
>  A porter may decide to create subpackages for different pieces of the
> @@ -707,7 +713,7 @@ $ <b>make show=PACKAGES</b>
>  To install them all, use
>  
>  <blockquote><pre>
> -$ <b>make install-all</b>
> +# <b>make install-all</b>
>  </pre></blockquote>
>  <p>
>  
> @@ -724,7 +730,7 @@ After some tests, this procedure will ju
>  to install the desired subpackage(s).
>  
>  <blockquote><pre>
> -$ <b>env SUBPACKAGE="-server" make install</b>
> +# <b>env SUBPACKAGE="-server" make install</b>
>  </pre></blockquote>
>  
>  <p>
> 

Reply via email to