<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.

</pre>
<p><a href="https://github.com/macports/macports-guide/commit/8d24ba587611c496d41f16c07c2136d3f4d75089">https://github.com/macports/macports-guide/commit/8d24ba587611c496d41f16c07c2136d3f4d75089</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8d24ba587611c496d41f16c07c2136d3f4d75089
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Wed Mar 28 16:15:51 2018 +0200

<span style='display:block; white-space:pre;color:#404040;'>    Document --without-startupitems in install section
</span>---
 guide/xml/installing.xml | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/installing.xml b/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index 16e6e1b..d5148ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/installing.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -330,23 +330,34 @@
</span>                 host. Only one copy of MacPorts may use the default prefix <filename>/opt/local</filename>, so for
                 additional installations use the option <option>--prefix</option> as shown below. It's also recommended
                 to change the applications dir using <option>--with-applications-dir</option> to avoid conflicts in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                <filename>/Applications/MacPorts</filename>.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                <filename>/Applications/MacPorts</filename>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                <phrase audience="2.5">Use <option>--without-startupitems</option> to automatically set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                <option>startupitems_install no</option> in the new <filename>macports.conf</filename>, which is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                required to avoid conflicts in <filename>/Library/LaunchAgents</filename> or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                <filename>/Library/LaunchDaemons</filename>.</phrase>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            </para>
</span> 
             <note>
                 <para>The first command temporarily removes the standard MacPorts binary paths because they must not be
                     present while installing a second instance.</para>
             </note>
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            <programlisting><prompt>$</prompt> <userinput>export PATH=/bin:/sbin:/usr/bin:/usr/sbin</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            <programlisting audience="2.4"><prompt>$</prompt> <userinput>export PATH=/bin:/sbin:/usr/bin:/usr/sbin</userinput>
</span> <!--                --><prompt>$</prompt> <userinput>MP_PREFIX=/opt/macports-test</userinput>
 <!--                --><prompt>$</prompt> <userinput>./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications</userinput>
 <!--                --><prompt>$</prompt> <userinput>make</userinput>
 <!--                --><prompt>$</prompt> <userinput>sudo make install</userinput></programlisting>
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            <para>After installing the second instance you might need to add
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            <para audience="2.4">After installing the second instance you might need to add
</span>                 <programlisting>startupitem_install no</programlisting>
                 to <filename>$MP_PREFIX/etc/macports/macports.conf</filename> to avoid conflicts in
                 <filename>/Library/LaunchAgents</filename>.</para>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            <programlisting audience="2.5"><prompt>$</prompt> <userinput>export PATH=/bin:/sbin:/usr/bin:/usr/sbin</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!--                --><prompt>$</prompt> <userinput>MP_PREFIX=/opt/macports-test</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!--                --><prompt>$</prompt> <userinput>./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications --without-startupitems</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!--                --><prompt>$</prompt> <userinput>make</userinput>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!--                --><prompt>$</prompt> <userinput>sudo make install</userinput></programlisting>
</span>         </section>
     </section>
 
</pre><pre style='margin:0'>

</pre>