From owner-dev-commits-doc-all@freebsd.org Mon Mar 29 19:59:39 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFF185A95E8 for ; Mon, 29 Mar 2021 19:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8NhW0SMKz4b98; Mon, 29 Mar 2021 19:59:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDDE3191F5; Mon, 29 Mar 2021 19:59:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 12TJxcJj068827; Mon, 29 Mar 2021 19:59:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 12TJxc11068826; Mon, 29 Mar 2021 19:59:38 GMT (envelope-from git) Date: Mon, 29 Mar 2021 19:59:38 GMT Message-Id: <202103291959.12TJxc11068826@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Rene Ladan Subject: git: eb3164de99 - main - Porters Handbook: remove obsolete information about iconv from before 2013-08-13 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb3164de992bd5c49f5916d6ba283f0ca02700a9 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 19:59:41 -0000 The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/doc/commit/?id=eb3164de992bd5c49f5916d6ba283f0ca02700a9 commit eb3164de992bd5c49f5916d6ba283f0ca02700a9 Author: Rene Ladan AuthorDate: 2021-03-29 19:55:41 +0000 Commit: Rene Ladan 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 <>. +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 <>. [[uses-imake]] == `imake`