Page MenuHomeFreeBSD

D28202.diff
No OneTemporary

D28202.diff

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

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)

Event Timeline