Date: Mon, 19 Apr 2021 15:23:25 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 5dddbce327 - main - FAQ: Do not explain how to get ports twice Message-ID: <202104191523.13JFNPoX091195@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=5dddbce32755648605f510517d66181af6bbb4d0 commit 5dddbce32755648605f510517d66181af6bbb4d0 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-19 15:15:59 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-04-19 15:23:30 +0000 FAQ: Do not explain how to get ports twice Instead, point users to the appropriate chapter in the handbook. I've named the anchor "ports-using-installation-methods" for consistency with the existing ones. There is no need to break existing bookmarks. At least for now. --- documentation/content/en/books/faq/_index.adoc | 5 +---- documentation/content/en/books/handbook/ports/_index.adoc | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc index c5829704e8..5db269a12b 100644 --- a/documentation/content/en/books/faq/_index.adoc +++ b/documentation/content/en/books/faq/_index.adoc @@ -839,10 +839,7 @@ FreeBSD supports compressed binary packages to easily install and uninstall port [[how-do-download-ports-tree]] === How do I download the Ports tree? Should I be using Git? -Any of the methods listed here work: - -* Use man:portsnap[8] for most use cases. Refer to link:{handbook}#ports-using/[Using the Ports Collection] for instructions on how to use this tool. -* Use Git if custom patches to the ports tree are needed or if running FreeBSD-CURRENT. Refer to link:{handbook}mirrors/#git[Using Git] for details. +See crossref:handbook[ports-using-installation-methods,Installing the Ports Collection]. [[ports-4x]] === Why can I not build this port on my {rel2-relx} -, or {rel-relx} -STABLE machine? diff --git a/documentation/content/en/books/handbook/ports/_index.adoc b/documentation/content/en/books/handbook/ports/_index.adoc index 68d2d09676..cd49ab7eb9 100644 --- a/documentation/content/en/books/handbook/ports/_index.adoc +++ b/documentation/content/en/books/handbook/ports/_index.adoc @@ -591,6 +591,7 @@ Some ports include [.filename]#pkg-message# or other files to handle special sit The port does not include the actual source code, also known as a [.filename]#distfile#. The extract portion of building a port will automatically save the downloaded source to [.filename]#/usr/ports/distfiles#. +[[ports-using-installation-methods]] === Installing the Ports Collection Before an application can be compiled using a port, the Ports Collection must first be installed. If it was not installed during the installation of FreeBSD, use one of the following methods to install it:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104191523.13JFNPoX091195>