Page MenuHomeFreeBSD

D34570.1775335354.diff
No OneTemporary

Size
854 B
Referenced Files
None
Subscribers
None

D34570.1775335354.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
@@ -373,6 +373,29 @@
Add dependency on package:math/eigen[].
+[[uses-elfctl]]
+== `elfctl`
+
+Possible arguments: (none)
+
+Change an ELF binary's feature control note by setting ELF_FEATURES.
+
+[[uses-elfct-ex1]]
+.Uses=elfctl
+[example]
+====
+[.programlisting]
+....
+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}.
+
[[uses-fakeroot]]
== `fakeroot`

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 8:42 PM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28261329
Default Alt Text
D34570.1775335354.diff (854 B)

Event Timeline