diff options
| author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-12-11 18:43:17 +0000 |
|---|---|---|
| committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-12-12 21:38:43 +0000 |
| commit | 0560f34cf68dcfda767235d3560e05ff91099256 (patch) | |
| tree | a2c7af2892b07358ec248fb5669a3a496b44e837 | |
| parent | 158792c0b2b4f219f77356f7aff157c45e0f74d9 (diff) | |
| -rw-r--r-- | documentation/content/en/books/porters-handbook/special/_index.adoc | 8 | ||||
| -rw-r--r-- | 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. |
