From nobody Mon Dec 12 21:42:43 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NWFTv6Hz9z4jcSL for ; Mon, 12 Dec 2022 21:42:43 +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 4NWFTv5lbLz4P6l; Mon, 12 Dec 2022 21:42:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670881363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S1JXpZ2hq6F5Yi6b+anLIpfuDSIiNeqkmSbVdpa9q44=; b=M7YcNBEGQ+FUsWQ8Kuhllkv+j1HViXeRRJGhuphhAdV0/PcOAPiGY0NSzUtq5MUemLOTA3 oaaxec1D55z4mi2YEsBJVLiij8e6PPw5ir5EylxJu0UQQ3VhOjhyHzps1dWsv8fJulWt6x J1pmxevlLXA77zZLGlChVC1vlWkT/sXXbgQrSGoT4uudKbxPVNvrPky5d4tTkF6YtD0vUE I0tbkMMFoetOF/j4huMCPi9Bo9d3hwZtPYrBChoOy8jaN3loipoX/Kbho1xRY1pJ85+p3n Ti20Pu0tgBdjgo9IwHYq7TAHzE8pcvCDopwY5oTYmjUcRWMx/qsSAfU7IgWQ+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670881363; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S1JXpZ2hq6F5Yi6b+anLIpfuDSIiNeqkmSbVdpa9q44=; b=tJINVHNW4dA6oRq3r1dVL5OyAhZfBwLCucSiIzRXuR/V7gvoeup84xfIQdXaam3DRJUspw uJyj3Ud8VgyRjy2InehKLEqkLwsPl5V740O4lnTLZ28bYkg5FO3xTaUH47f6HmuBdSKcMB WOKKOONsHSyD3Z+gDyQjcWTRrAyVVjrZ7BJAO5CyAhYEDTDNZy7XdyQNFdaIXy2YlDJBsf HXUGdh7TTz+7tZ4TExPVpe/jDhh8KZJ8Ngx60n4Bedr+RIxHmghp5kDNrW+uNQLHvOW4Gj LCwxBiG4bUbmja4FVZFEpGb874pcrDN07wp7oAPaORBJRdXfbmdO7OeSo2GS6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670881363; a=rsa-sha256; cv=none; b=LyEzdR9k/CA5hkw331ehsVdbxNNkyDvlhAoGW22RKANAWfEqLnGBEpQ2twSb4DY3w3usLO b6/n5j/RJuS/6/GwsNmeqZ2N2OcRfl3g5OHNVVYGzcyjV1hUcxfk/KXmSsswSLoKCsFgx3 5rSB5KYndRwxt+n9nG7cnBssGG44C68qhkSqzrpkDBspZvcw042ooRcd4PXMFqZfsOm6zw GydiivQBawp9zJjQSzp+gL+BVHtodHfBJWXDjlxxiaV+VnkPKywUavlgZqsHw+H/ir2PDV ivZhJpkSMzzZcW87KwBmQ+2Y9et+jSuzkCRnQ2J7XwAxVTY9WTJv6WWkTvnJRg== 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 4NWFTv4qD0zqLh; Mon, 12 Dec 2022 21:42:43 +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 2BCLgh7u087902; Mon, 12 Dec 2022 21:42:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BCLghLX087901; Mon, 12 Dec 2022 21:42:43 GMT (envelope-from git) Date: Mon, 12 Dec 2022 21:42:43 GMT Message-Id: <202212122142.2BCLghLX087901@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 0560f34cf6 - main - [phb][uses] Update Lua examples List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0560f34cf68dcfda767235d3560e05ff91099256 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=0560f34cf68dcfda767235d3560e05ff91099256 commit 0560f34cf68dcfda767235d3560e05ff91099256 Author: Fernando ApesteguĂ­a AuthorDate: 2022-12-11 18:43:17 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-12-12 21:38:43 +0000 [phb][uses] Update Lua examples And make them depict the use of the most recent default version (5.4) --- .../content/en/books/porters-handbook/special/_index.adoc | 8 ++++---- documentation/content/en/books/porters-handbook/uses/_index.adoc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc index 8a91a56bb0..cdd57b2b3b 100644 --- a/documentation/content/en/books/porters-handbook/special/_index.adoc +++ b/documentation/content/en/books/porters-handbook/special/_index.adoc @@ -4185,10 +4185,10 @@ These variables are available in the port. | Description |`LUA_VER` -|The Lua version that is going to be used (for example, `5.1`) +|The Lua version that is going to be used (for example, `5.4`) |`LUA_VER_STR` -|The Lua version without the dots (for example, `51`) +|The Lua version without the dots (for example, `54`) |`LUA_FLAVOR` |The flavor name corresponding to the selected Lua version, to be used for specifying dependencies @@ -4221,10 +4221,10 @@ These variables are available in the port. |The package name prefix used by Lua modules |`LUA_CMD` -|The name of the Lua interpreter (e.g. `lua53`) +|The name of the Lua interpreter (e.g. `lua54`) |`LUAC_CMD` -|The name of the Lua compiler (e.g. `luac53`) +|The name of the Lua compiler (e.g. `luac54`) |=== These additional variables are available for ports that specified the `module` parameter: diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index 34e0ab8779..eb30fe397d 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1094,7 +1094,7 @@ Adds a dependency on Lua. By default this is a library dependency, unless overridden by the `build` and/or `run` option. The `env` option prevents the addition of any dependency, while still defining all the usual variables. -The default version is set by the usual `DEFAULT_VERSIONS` mechanism, unless a version or range of versions is specified as an argument, for example, `51` or `51-53`. +The default version is set by the usual `DEFAULT_VERSIONS` mechanism, unless a version or range of versions is specified as an argument, for example, `51` or `51-54`. Applications using Lua are normally built for only a single Lua version. However, library modules intended to be loaded by Lua code should use the `module` option to build with multiple flavors.