aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-10-15 15:57:20 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-10-27 15:41:16 +0000
commit0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f (patch)
treea2d51e65dd55016b470336b0dc8d774928ed4af6
parentbdf99962499fa3c66a6b0c42af3b3ac57af21699 (diff)
downloaddoc-0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f.tar.gz
doc-0870d76e67a3a4ca2d1169e0fbc0cd8e5b378f7f.zip
[phb] Add Uses=luajit
-rw-r--r--documentation/content/en/books/porters-handbook/uses/_index.adoc19
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`