Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107532038
D28202.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
736 B
Referenced Files
None
Subscribers
None
D28202.diff
View Options
diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7
--- a/share/man/man7/ports.7
+++ b/share/man/man7/ports.7
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 6, 2021
+.Dd April 17, 2021
.Dt PORTS 7
.Os
.Sh NAME
@@ -645,6 +645,18 @@
.Pp
These and other options-related variables are documented in
.Pa /usr/ports/Mk/bsd.options.mk .
+.It Sy Example 5\&: No Setting Xr make 1 Variables for Specific Ports via Xr make.conf 5
+.Pp
+The following example shows how to set arbitrary
+.Xr make 1
+variables only specific ports:
+.Bd -literal -offset 2n
+# Set DISABLE_MAKE_JOBS for the lang/rust port:
+\&.if ${.CURDIR:M*/lang/rust}
+DISABLE_MAKE_JOBS= yes
+TRYBROKEN= yes
+\&.endif
+.Ed
.El
.Sh SEE ALSO
.Xr make 1 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 12:36 PM (21 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15825542
Default Alt Text
D28202.diff (736 B)
Attached To
Mode
D28202: Add example of setting variables for selected ports
Attached
Detach File
Event Timeline
Log In to Comment