diff options
author | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-10-15 15:57:20 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-10-27 15:41:16 +0000 |
commit | 0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f (patch) | |
tree | a2d51e65dd55016b470336b0dc8d774928ed4af6 | |
parent | bdf99962499fa3c66a6b0c42af3b3ac57af21699 (diff) | |
download | doc-0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f.tar.gz doc-0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f.zip |
[phb] Add Uses=luajit
Following inclusion in the ports framework[1]
[1] https://cgit.freebsd.org/ports/commit/?id=9d241a90370c9410d997be37db5e3a5657bdb4ca
-rw-r--r-- | documentation/content/en/books/porters-handbook/uses/_index.adoc | 19 |
1 files changed, 19 insertions, 0 deletions
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` |