Date: Thu, 27 Oct 2022 15:45:10 GMT From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: 0870d76e67 - main - [phb] Add Uses=luajit Message-ID: <202210271545.29RFjAcU034069@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f commit 0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2022-10-15 15:57:20 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-10-27 15:41:16 +0000 [phb] Add Uses=luajit Following inclusion in the ports framework[1] [1] https://cgit.freebsd.org/ports/commit/?id=9d241a90370c9410d997be37db5e3a5657bdb4ca --- .../en/books/porters-handbook/uses/_index.adoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index 404777ccfa..3a05b70c57 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1074,6 +1074,25 @@ However, library modules intended to be loaded by Lua code should use the `modul For more information see crossref:special[using-lua,Using Lua]. +[[uses-luajit]] +== `luajit` + +Possible arguments: (none), `_X_` + +Adds a dependency on luajit runtime. +A specific version _X_ can be used. Possible versions are `luajit`, `luajit-devel`, `luajit-openresty` + +After including [.filename]#bsd.port.options.mk# or [.filename]#bsd.port.pre.mk# the port can inspect these variables: + +`LUAJIT_VER`:: +The selected luajit version +`LUAJIT_INCDIR`:: +The path to luajit's header files +`LUAJIT_LUAVER`:: +Which luajit spec version is selected (2.0 for luajit, else 2.1) + +For more information see crossref:special[using-lua,Using Lua]. + [[uses-lxqt]] == `lxqt`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210271545.29RFjAcU034069>
