|
Lines 837-842
Link Here
|
| 837 |
<para>By default, the Ports Collection itself is stored as a |
837 |
<para>By default, the Ports Collection itself is stored as a |
| 838 |
subdirectory of <filename>/usr/ports</filename>.</para> |
838 |
subdirectory of <filename>/usr/ports</filename>.</para> |
| 839 |
|
839 |
|
|
|
840 |
<para>Before installing and using the ports collection, please |
| 841 |
be aware that it is generally ill-advised to use ports in |
| 842 |
conjunction with pkg to install software. pkg, by default, |
| 843 |
tracks quarterly branch-releases of the ports tree and not HEAD. |
| 844 |
Dependencies could be different for a port in HEAD compared to |
| 845 |
its counterpart in a quarterly branch release and this could |
| 846 |
result in conflicts between dependencies installed by pkg and |
| 847 |
those from the ports collection. If ports and pkg must be used |
| 848 |
in conjunction, then be sure that your ports collection and pkg |
| 849 |
are on the same branch release of the ports tree.</para> |
| 850 |
|
| 840 |
<para>Before an application can be compiled using a port, the |
851 |
<para>Before an application can be compiled using a port, the |
| 841 |
Ports Collection must first be installed. If it was not |
852 |
Ports Collection must first be installed. If it was not |
| 842 |
installed during the installation of &os;, use one of the |
853 |
installed during the installation of &os;, use one of the |
|
Lines 917-928
Link Here
|
| 917 |
</step> |
928 |
</step> |
| 918 |
|
929 |
|
| 919 |
<step> |
930 |
<step> |
| 920 |
<para>Check out a copy of the ports tree:</para> |
931 |
<para>Check out a copy of the HEAD branch of the ports |
|
|
932 |
tree:</para> |
| 921 |
|
933 |
|
| 922 |
<screen>&prompt.root; <userinput>svn checkout https://svn.FreeBSD.org/ports/head /usr/ports</userinput></screen> |
934 |
<screen>&prompt.root; <userinput>svn checkout https://svn.FreeBSD.org/ports/head /usr/ports</userinput></screen> |
| 923 |
</step> |
935 |
</step> |
| 924 |
|
936 |
|
| 925 |
<step> |
937 |
<step> |
|
|
938 |
<para>Or, check out a copy of a quartlery branch:</para> |
| 939 |
|
| 940 |
<screen>&prompt.root; <userinput>svn checkout https://svn.FreeBSD.org/ports/branches/2020Q3 /usr/ports</userinput></screen> |
| 941 |
</step> |
| 942 |
|
| 943 |
<step> |
| 926 |
<para>As needed, update <filename>/usr/ports</filename> after |
944 |
<para>As needed, update <filename>/usr/ports</filename> after |
| 927 |
the initial <application>Subversion</application> |
945 |
the initial <application>Subversion</application> |
| 928 |
checkout:</para> |
946 |
checkout:</para> |
|
Lines 929-934
Link Here
|
| 929 |
|
947 |
|
| 930 |
<screen>&prompt.root; <userinput>svn update /usr/ports</userinput></screen> |
948 |
<screen>&prompt.root; <userinput>svn update /usr/ports</userinput></screen> |
| 931 |
</step> |
949 |
</step> |
|
|
950 |
|
| 951 |
<step> |
| 952 |
<para>As needed, switch <filename>/usr/ports</filename> to a |
| 953 |
different quarterly branch:</para> |
| 954 |
|
| 955 |
<screen>&prompt.root; <userinput>svn switch http://svn.freebsd.org/ports/branches/2020Q4/ /usr/ports</userinput></screen> |
| 956 |
</step> |
| 932 |
</procedure> |
957 |
</procedure> |
| 933 |
|
958 |
|
| 934 |
<para>The Ports Collection contains directories |
959 |
<para>The Ports Collection contains directories |