Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168188159
D37578.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37578.id.diff
View Options
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -425,6 +425,29 @@
The format of `featurelist` is described in man:elfctl[1]. The file paths are relative to ${BUILD_WRKSRC}.
+[[uses-erlang]]
+== `erlang`
+
+Possible arguments: (none), `enc`, `rebar`, `rebar3`
+
+Adds a build and run time dependency on package:lang/erlang[].
+Depending on the argument, it adds additional build dependencies. `enc` adds a
+dependency on package:devel/erlang-native-compiler[], `rebar` adds a dependency on
+package:devel/rebar[] and `rebar3` adds a dependency on package:devel/rebar3[].
+
+In addition, the following variables are available to the port:
+
+* `ERL_APP_NAME`: Erlang app name as installed in Erlang's lib dir (minus version)
+* `ERL_APP_ROOT`: Root directory for this Erlang app
+* `REBAR_CMD`: Path to the "rebar" command
+* `REBAR3_CMD`: Path to the "rebar3" command
+* `REBAR_PROFILE`: Rebar profile
+* `REBAR_TARGETS`: Rebar target list (usually compile, maybe escriptize)
+* `ERL_BUILD_NAME`: Build name for rebar3
+* `ERL_BUILD_DEPS`: List of BUILD_DEPENDS in category/portname format
+* `ERL_RUN_DEPS`: List of RUN_DEPENDS in category/portname format
+* `ERL_DOCS`: List of documentation files and directories
+
[[uses-fakeroot]]
== `fakeroot`
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 27, 7:06 PM (2 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37393629
Default Alt Text
D37578.id.diff (1 KB)
Attached To
Mode
D37578: [phb][uses] Document erlang
Attached
Detach File
Event Timeline
Log In to Comment