Date: Mon, 29 Mar 2021 19:59:38 GMT From: Rene Ladan <rene@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: eb3164de99 - main - Porters Handbook: remove obsolete information about iconv from before 2013-08-13 Message-ID: <202103291959.12TJxc11068826@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/doc/commit/?id=eb3164de992bd5c49f5916d6ba283f0ca02700a9 commit eb3164de992bd5c49f5916d6ba283f0ca02700a9 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2021-03-29 19:55:41 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2021-03-29 19:55:41 +0000 Porters Handbook: remove obsolete information about iconv from before 2013-08-13 I originally encountered this while updating the Porters Handbook to git, and emaste@ suggested to make it an independent commit. --- .../content/en/books/porters-handbook/special/chapter.adoc | 8 ++++---- documentation/content/en/books/porters-handbook/uses/chapter.adoc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/content/en/books/porters-handbook/special/chapter.adoc b/documentation/content/en/books/porters-handbook/special/chapter.adoc index 93774b0637..8bf35a4a22 100644 --- a/documentation/content/en/books/porters-handbook/special/chapter.adoc +++ b/documentation/content/en/books/porters-handbook/special/chapter.adoc @@ -3874,9 +3874,9 @@ DOCSDIR= ${LUA_DOCSDIR} [[using-iconv]] == Using `iconv` -After 2013-10-08 (link:https://svnweb.freebsd.org/changeset/base/254273[r254273]), FreeBSD 10-CURRENT and newer versions have a native `iconv` in the operating system. On earlier versions, package:converters/libiconv[] was used as a dependency. +FreeBSD has a native `iconv` in the operating system. -For software that needs `iconv`, define `USES=iconv`. FreeBSD versions before 10-CURRENT on 2013-08-13 (link:https://svnweb.freebsd.org/changeset/base/254273[r254273]) do not have a native `iconv`. On these earlier versions, a dependency on package:converters/libiconv[] will be added automatically. +For software that needs `iconv`, define `USES=iconv`. When a port defines `USES=iconv`, these variables will be available: @@ -3885,8 +3885,8 @@ When a port defines `USES=iconv`, these variables will be available: |=== | Variable name | Purpose -| Value before FreeBSD 10-CURRENT 254273 (2013-08-13) -| Value after FreeBSD 10-CURRENT 254273 (2013-08-13) +| Port iconv (when using WCHAR_T or //TRANSLIT extensions) +| Base iconv |`ICONV_CMD` diff --git a/documentation/content/en/books/porters-handbook/uses/chapter.adoc b/documentation/content/en/books/porters-handbook/uses/chapter.adoc index 83ebb361c3..a99e81bc51 100644 --- a/documentation/content/en/books/porters-handbook/uses/chapter.adoc +++ b/documentation/content/en/books/porters-handbook/uses/chapter.adoc @@ -629,7 +629,7 @@ Add buildtime and runtime dependencies on package:devel/pear-channel-horde[]. Ot Possible arguments: (none), `lib`, `build`, `patch`, `translit`, `wchar_t` -Uses `iconv` functions, either from the port package:converters/libiconv[] as a build-time and run-time dependency, or from the base system on 10-CURRENT after a native `iconv` was committed in link:https://svnweb.freebsd.org/changeset/base/254273[r254273]. By default, with no arguments or with the `lib` argument, implies `iconv` with build-time and run-time dependencies. `build` implies a build-time dependency, and `patch` implies a patch-time dependency. If the port uses the `WCHAR_T` or `//TRANSLIT` iconv extensions, add the relevant arguments so that the correct iconv is used. For more information see <<using-iconv,Using `iconv`>>. +Uses `iconv` functions, either from the port package:converters/libiconv[] as a build-time and run-time dependency, or from the base system. By default, with no arguments or with the `lib` argument, implies `iconv` with build-time and run-time dependencies. `build` implies a build-time dependency, and `patch` implies a patch-time dependency. If the port uses the `WCHAR_T` or `//TRANSLIT` iconv extensions, add the relevant arguments so that the correct iconv is used. For more information see <<using-iconv,Using `iconv`>>. [[uses-imake]] == `imake`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103291959.12TJxc11068826>