Page MenuHomeFreeBSD

D48327.diff
No OneTemporary

D48327.diff

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
@@ -489,9 +489,12 @@
[[uses-elfctl]]
== `elfctl`
-Possible arguments: (none)
+Possible arguments: (none), `build` (default), `stage`
+
+Set ELF binary feature control notes by setting `ELF_FEATURES`.
-Change an ELF binary's feature control note by setting ELF_FEATURES.
+When either no argument or the `build` argument is supplied, binaries under `BUILD_WRKSRC` are operated on, and files listed in `ELF_FEATURES` are relative to `BUILD_WRKSRC`.
+When the `stage` argument is supplied, binaries under `STAGEDIR` are operated on and files listed in `ELF_FEATURES` are relative to `STAGEDIR`.
[[uses-elfct-ex1]]
.Uses=elfctl
@@ -501,13 +504,12 @@
....
USES= elfctl
ELF_FEATURES= featurelist:path/to/file1 \
- featurelist:path/to/file1 \
featurelist:path/to/file2
....
====
-The format of `featurelist` is described in man:elfctl[1]. The file paths are relative to ${BUILD_WRKSRC}.
+The format of `featurelist` is described in man:elfctl[1].
[[uses-erlang]]
== `erlang`

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 8:24 AM (5 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15706481
Default Alt Text
D48327.diff (1 KB)

Event Timeline